I am trying to start CMD and pass a command to it and then monitor it in the app I am writing. The user enters the information that makes the commandline and when they click Go it does start CMD but straight away it says it can't find the file.
Is there any way I can view what is being sent to the CMD prompt to double check that this is correct?
Do I need to specify the path to the file I want it to run, i.e. cscript c:\test\Migrate.wsf?
Any help would be appreciated.
Lee
Is there any way I can view what is being sent to the CMD prompt to double check that this is correct?
Do I need to specify the path to the file I want it to run, i.e. cscript c:\test\Migrate.wsf?
Any help would be appreciated.
Lee