Created
December 8, 2013 14:02
-
-
Save jbutko/7857977 to your computer and use it in GitHub Desktop.
cmd.exe, Windows: Run a Windows (“DOS”) batch cmd script minimized
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if not "%minimized%"=="" goto :minimized | |
set minimized=true | |
start /min cmd /C "%~dpnx0" | |
goto :EOF | |
:minimized | |
rem Anything after here will run in a minimized window |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment