Hi Friends,
Within VFP6, I am using Wscript.shell object's run method to run an external program. External program's output is redirected to a text file called output.txt.
My problem is that output.txt is not getting created. Is this a VFP problem?
Thanks
Foxbldr
Within VFP6, I am using Wscript.shell object's run method to run an external program. External program's output is redirected to a text file called output.txt.
Code:
lcExecStr="abc.exe >output.txt"
loShell=createobject('Wscript.shell')
loShell.run(lcExecStr,0,.t.)
...
My problem is that output.txt is not getting created. Is this a VFP problem?
Thanks
Foxbldr