How to execute a Bat file using Tcl command
hua yan
huayan_us@yahoo.com
Fri Mar 17 02:08:00 GMT 2000
Hello,everyone!I want to execute a Bat file when click
an button, but when I using 'open' command, it failed
when in Windows 95 environment,but success in Windows
NT environment. The following line is the sentence I
've written when in NT:
$mainmenu add command -label "Shell" -command {open
"|cmd.exe /c [file join $user_path
host/bin/setcmd.bat]"} -underline 0
while in Windows 95:
$mainmenu add command -label "Shell" -command {open
"|command.com /c [file join $user_path
host/bin/setcmd.bat]"} -underline 0
best wishes
yanhua
2000-03-17
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
More information about the Insight
mailing list