Hi Guys,
Need help here anyone knows a script for Visual fox pro about shell execution in silent mode. I don’t want to display the output of the running application in windows screen. I just trying to run the “.exe” file w/o viewing on screen. Thanks in advance. All your suggestion will be a great help.
Thanks for the reply I already got the codes from vbscript to vbf syntax. thanks
I used this codes for the silent mode of shell execution.
I used this code for vbscript “CreateObject(“wscript.Shell”).run “%windir%\application” , vbhide”
I used this syntax for VFP “oShell = WScript.CreateObject (“WSCript.shell”)
oShell.run(“cmd /K CD C:\ & Dir>test.txt”, 0, .F.)”
I Posted this for future reference for the others. More power to this forum site.
Hi,
I know how to do that in c#, all you need is to put additional properties to process starter. You can google it’s syntax