This is the mail archive of the
insight@sourceware.cygnus.com
mailing list for the Insight project.
How to execute a Bat file using Tcl command
- To: insight at sourceware dot cygnus dot com
- Subject: How to execute a Bat file using Tcl command
- From: hua yan <huayan_us at yahoo dot com>
- Date: Fri, 17 Mar 2000 02:03:22 -0800 (PST)
- Cc: gdb at soureceware dot cygnus dot com
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