asynchronous programs terminate when command window closes
How can I start a program in a command window and have it run independent of the window? I tried this: start /B c:\cygwin\bin\ping.exe ulv >nul <nul 2<nul but when I type "exit" at the command prompt, the window fails to close, and when I close the window, the ping command terminates. I am on Windows 7 Home Premium, 64 bit.
February 14th, 2011 11:49am

Hi Juanalaloca, Thanks for the post! If I want to start the ITunes using the command, I just input: start itunes.exe in the command prompt, then input exit to close the command prompt window. You can also refer to: How to Start a Program From a Command Prompt in Windows Regards, MiyaThis posting is provided "AS IS" with no warranties, and confers no rights. | Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
February 16th, 2011 12:45am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics