I have a program that runs from the command prompt from my program. This is the command:
cmd.exe /C cscript //nologo D:\NEW_MSI\MSI_DATA\MakeGuid.vbs > D:\NEW_MSI\MSI_DATA\myguid.txt
I am using CALL "SYSTEM" USING WS-CMD-LINE to run the command. (the command above is placed in WS-CMD-LINE before the call to "SYSTEM".
The command works great from a dos prompt, but when I use it in my program - it does not work at all. The myguid.txt file is never generated.
Does anybody have any suggestions on how I can get this to work?