This is the mail archive of the insight@sourceware.cygnus.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to execute a Bat file using Tcl command


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]