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?

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

2 Answers

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
link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.