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?
2 Answers
If you dont want the command prompt to linger at all you can use
cmd /c start notepadIf 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