Take the 2-minute tour ×

I have this in a .bat file (windows 7):

taskkill /F /IM CouchPotato.exe

(The couchpotato tends to crash alot.)

The command prompt stays open until the process ends.

Is there a way to close it after the process has excecuted?

I tried /silent after the .bat shortcut, but doesn't work..

share|improve this question

marked as duplicate by Karan, davidgo, Dave M, Brad Patton, Breakthrough May 25 '13 at 5:30


add comment

1 Answer

up vote 3 down vote accepted

Run your application with start. This command returns immediately.

start CouchPotato.exe

See also How do I create a Windows Batch file that does not show the Command Prompt when executed?

Or, alternatively, how about not having a command prompt show at all? See How to run a batch file without launching a "command window"?

share|improve this answer
add comment
