0

Suppose I have a running application named php.exe and its PID in a text file named php.pid. This actually has no use to keep php.exe window in foreground. I have searched a lot but got no way to send it to hidden window. I am using Windows 7 ultimate edition. and need to do it by using command line or a vbs script, i have about 15+ window like this.

For vbs to run a hidden window we ca do this:

Set sh = WScript.CreateObject("WScript.Shell")
sh.run "cmd /K php.exe & exit",0,true
Set sh = Nothing

but to sent this application from foreground to hidden window i can not fiend the method.

Masum Nishat
  • 167
  • 3
  • 15

0 Answers0