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'm trying to run cmd in min mode, like cmd /k start notepad && exit.

I tried c:\windows\system32\cmd.exe /k start /min notepad && exit.

But it opens the cmd and then opens notepad. What can I do to minimize cmd automatically?

share|improve this question
Are you running this from a batch file? – CharlieRB Dec 5 '11 at 14:35

If you dont want the command prompt to linger at all you can use

cmd /c start notepad

If you want to keep it a command prompt minimized under notepad you can use

cmd /c start /min cmd /k notepad
share|improve this answer

You could try Hidden Start, seems to be free for personal use.

share|improve this answer
This is an ancient post, but please consider expanding the answer. Just pointing to a product isn't considered an answer by current standards because it doesn't indicate anything about why it's a good solution or how to accomplish the solution. Good guidance on recommending software here. Thanks. – fixer1234 Jan 17 at 8:04

You must log in to answer this question.

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