graemephillips
Programmer
I have found that if I type ''exec "C:/Documents and Settings/grphilli/Desktop/wish.exe" a:/Programm.tcl'' for instance, I can run a file with Tcl/Tk. However, the problem is that I want to do this with a .cmd file.
Can one run a .cmd file in this way? If so, what do I have to type between "exec" and the filename or rather, which application does one have to use to run a .cmd file using this syntax?
Also, is there any other way to start up a Windows .cmd file from Tcl/Tk?
Given that I am fairly new to programming, please tell me what the necessary syntax is if you answer, as just saying that this is something that can be done with the exec command is of little help. Thanks.
Can one run a .cmd file in this way? If so, what do I have to type between "exec" and the filename or rather, which application does one have to use to run a .cmd file using this syntax?
Also, is there any other way to start up a Windows .cmd file from Tcl/Tk?
Given that I am fairly new to programming, please tell me what the necessary syntax is if you answer, as just saying that this is something that can be done with the exec command is of little help. Thanks.