How to run a program with parameters using Run Shell?
When running this way, Run Shell("",'procexp.exe ',.T.) everything works, but in an open window. In order for the launch to be minimized in the tray, you need to run like this: "procexp.exe /t", but how to do it? The RunShell command("",'procexp.exe /t',.T.) gives an error. Run Shell("/C procexp.exe /t") works, but it opens a DOS window and until you close it manually, the process does not continue
How to run a program with parameters using Run Shell?
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: How to run a program with parameters using Run Shell?
RunShell("/t", "progexp.exe., .T.)
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact: