How to run a program with parameters using Run Shell?

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

How to run a program with parameters using Run Shell?

#1 Post by Eugene Lutsenko »

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

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: How to run a program with parameters using Run Shell?

#2 Post by Wolfgang Ciriack »

RunShell("/t", "progexp.exe., .T.)
_______________________
Best Regards
Wolfgang


Post Reply