Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 5 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

Not the answer you're looking for? Browse other questions tagged .