How to run the command prompt minimized?

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?

1

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

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

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like