<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic running Tcl-Application from VBA 6.0 in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/running-tcl-application-from-vba-6-0/m-p/342561#M82078</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'd like to start a Tcl-Script from VBA. In the NT-Dos-Shell the following&lt;BR /&gt;
command works properly :&lt;BR /&gt;
&lt;BR /&gt;
" tclsh83 D:/TCL_Programme/test.tcl &amp;gt; D:/TCL_Programme/rest_0.txt "&lt;BR /&gt;
&lt;BR /&gt;
The Vba-Code doesn't have any result:&lt;BR /&gt;
&lt;BR /&gt;
Dim Ergebnis&lt;BR /&gt;
Dim strName As String&lt;BR /&gt;
strName= "D:/TCL_Programme/test.tcl &amp;gt; D:/TCL_Programme/rest_0.txt"&lt;BR /&gt;
Ergebnis = Shell("tclsh83 &amp;amp; Space(1) &amp;amp; strName, 1)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Also using the SendKey-Method :&lt;BR /&gt;
Ergebnis = Shell("tclsh83.exe ") // is successful&lt;BR /&gt;
SendKeys "D:/TCL_Programme/test.tcl &amp;gt; D:/TCL_Programme/rest_0.txt", True&lt;BR /&gt;
or even SendKeys "exit, True"  in order to terminate  doesn't work.&lt;BR /&gt;
&lt;BR /&gt;
Any Ideas how surrender Parameteres to tcl83 ?&lt;BR /&gt;
&lt;BR /&gt;
Thanx</description>
    <pubDate>Wed, 08 Aug 2001 01:41:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2001-08-08T01:41:09Z</dc:date>
    <item>
      <title>running Tcl-Application from VBA 6.0</title>
      <link>https://forums.autodesk.com/t5/vba-forum/running-tcl-application-from-vba-6-0/m-p/342561#M82078</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'd like to start a Tcl-Script from VBA. In the NT-Dos-Shell the following&lt;BR /&gt;
command works properly :&lt;BR /&gt;
&lt;BR /&gt;
" tclsh83 D:/TCL_Programme/test.tcl &amp;gt; D:/TCL_Programme/rest_0.txt "&lt;BR /&gt;
&lt;BR /&gt;
The Vba-Code doesn't have any result:&lt;BR /&gt;
&lt;BR /&gt;
Dim Ergebnis&lt;BR /&gt;
Dim strName As String&lt;BR /&gt;
strName= "D:/TCL_Programme/test.tcl &amp;gt; D:/TCL_Programme/rest_0.txt"&lt;BR /&gt;
Ergebnis = Shell("tclsh83 &amp;amp; Space(1) &amp;amp; strName, 1)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Also using the SendKey-Method :&lt;BR /&gt;
Ergebnis = Shell("tclsh83.exe ") // is successful&lt;BR /&gt;
SendKeys "D:/TCL_Programme/test.tcl &amp;gt; D:/TCL_Programme/rest_0.txt", True&lt;BR /&gt;
or even SendKeys "exit, True"  in order to terminate  doesn't work.&lt;BR /&gt;
&lt;BR /&gt;
Any Ideas how surrender Parameteres to tcl83 ?&lt;BR /&gt;
&lt;BR /&gt;
Thanx</description>
      <pubDate>Wed, 08 Aug 2001 01:41:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/running-tcl-application-from-vba-6-0/m-p/342561#M82078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-08-08T01:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: running Tcl-Application from VBA 6.0</title>
      <link>https://forums.autodesk.com/t5/vba-forum/running-tcl-application-from-vba-6-0/m-p/342562#M82079</link>
      <description>On Wed, 8 Aug 2001 02:41:09 -0700, Arash.Aram@fujitsu-siemens.com (Arash&lt;BR /&gt;
Aram) wrote:&lt;BR /&gt;
&lt;BR /&gt;
» I'd like to start a Tcl-Script from VBA. In the NT-Dos-Shell the following&lt;BR /&gt;
» command works properly :&lt;BR /&gt;
» &lt;BR /&gt;
» " tclsh83 D:/TCL_Programme/test.tcl &amp;gt; D:/TCL_Programme/rest_0.txt "&lt;BR /&gt;
» &lt;BR /&gt;
» The Vba-Code doesn't have any result:&lt;BR /&gt;
» &lt;BR /&gt;
» Dim Ergebnis&lt;BR /&gt;
» Dim strName As String&lt;BR /&gt;
» strName= "D:/TCL_Programme/test.tcl &amp;gt; D:/TCL_Programme/rest_0.txt"&lt;BR /&gt;
» Ergebnis = Shell("tclsh83 &amp;amp; Space(1) &amp;amp; strName, 1)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Redirection is handled internally by the command interpreter.  You need to&lt;BR /&gt;
pass the entire string to a new instance of command.com or cmd.exe.  Try&lt;BR /&gt;
this:&lt;BR /&gt;
&lt;BR /&gt;
  Ergebnis = Shell(Environ$("ComSpec") &amp;amp; " " &amp;amp; _&lt;BR /&gt;
                "tclsh83" &amp;amp; Space(1) &amp;amp; strName, 1)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Paul Marshall&lt;BR /&gt;
pmarshal@vulcraft-al.com</description>
      <pubDate>Wed, 08 Aug 2001 03:35:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/running-tcl-application-from-vba-6-0/m-p/342562#M82079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-08-08T03:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: running Tcl-Application from VBA 6.0</title>
      <link>https://forums.autodesk.com/t5/vba-forum/running-tcl-application-from-vba-6-0/m-p/342563#M82080</link>
      <description>&amp;gt; The Vba-Code doesn't have any result:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Dim Ergebnis&lt;BR /&gt;
&amp;gt; Dim strName As String&lt;BR /&gt;
&amp;gt; strName= "D:/TCL_Programme/test.tcl &amp;gt; D:/TCL_Programme/rest_0.txt"&lt;BR /&gt;
&amp;gt; Ergebnis = Shell("tclsh83 &amp;amp; Space(1) &amp;amp; strName, 1)&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
What about:&lt;BR /&gt;
&lt;BR /&gt;
Ergebnis = Shell("tclsh83" &amp;amp; Space(1) &amp;amp; strName, 1)</description>
      <pubDate>Wed, 08 Aug 2001 06:21:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/running-tcl-application-from-vba-6-0/m-p/342563#M82080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-08-08T06:21:43Z</dc:date>
    </item>
  </channel>
</rss>

