Could someone tell me how to open a program, scan through whole lines in C, check for certain parameters and then assign values to variables in C? For instance, I have to use the C program to open a program named cube.tri, whose format is shown below: -
8 6
1 1 1
1 1 -1
1 -1 1
1 -1 -1
-1 1 1...
To cut a long story short, does anyone know the exact syntax one should use when using Tcl/Tk to run Windows commands i.e. the content of a .cmd file? I know how to do this using applications, for which a shortcut exists, but since I don't know of any application as such for .cmd files that is...
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...
I have found that if I type "exec notepad a:/Programm.tcl", I can activate notepad with this file in it. Does anyone know what other applications one can do this with and what one has to replace the word "notepad" with? Ideally, does anyone know of a webpage that lists all the applications one...
Does anyone know about the format that one needs to use for the exec command when using it to activate files using a particular program, as if double clicking on the icon?
Currently, I have an example in front of me in John Ousterhout's textbook that goes as follows:-
exec wc...
I am trying to write a Tcl/Tk program that will run windows commands. Does anyone know the syntax that I should use?
Specifics:- The content of the windows command I would like to run is "TPPTesterClient.exe /f44.scr /s0 /o249 /d16" and I would like the effect to be the same as what would...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.