Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. graemephillips

    Scanning whole lines and then checking contents

    No, I finished school back in 2001. I am mostly ok on the program, but there are unfortunately some gaps in my knowledge.
  2. graemephillips

    Scanning whole lines and then checking contents

    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...
  3. graemephillips

    How do you run Windows commands or .cmd files in Tcl/Tk?

    P.S. could someone please tell me the exact syntax, rather than just saying something along the lines of that it can be done using the "exec" command.
  4. graemephillips

    How do you run Windows commands or .cmd files in Tcl/Tk?

    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...
  5. graemephillips

    How to run a Windows .cmd file

    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...
  6. graemephillips

    List for applications covered by the exec command

    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...
  7. graemephillips

    Activating programs using the "exec" command

    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...
  8. graemephillips

    How do I use the "run" option in a Tcl/Tk program?

    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...

Part and Inventory Search

Back
Top