11-08-2008 02:04 PM
i am using system exec to run and exe file from a command window i can run and pipe the output to a file but running from the system exec the file does not appear to even run
the command i use is C:\tjtagv2.exe > c:\text.txt
i have tried the various switches for the cmd command and it just doesn't want to work using the system exec any idea how i can get this to work
11-09-2008 11:16 AM
You need to run the program within the context of a command window. Thus, you should be using something like
cmd /c C:\tjtagv2.exe > c:\text.txt\
as the input to System Exec.