windows - How do I minimize the command prompt from my bat file - Stack Overflow

PHOTO EMBED

Mon Apr 12 2021 08:57:11 GMT+0000 (Coordinated Universal Time)

Saved by @steadytom

Using PowerShell you can minimize from the same file without opening a new instance.

powershell -window minimized -command ""
 Save
Also -window hidden and -window normal is available to hide completely or restore.
content_copyCOPY

https://stackoverflow.com/questions/9232308/how-do-i-minimize-the-command-prompt-from-my-bat-file