Page 1 of 1

how to minimize my batch file window when it starts

Posted: 17 Apr 2012 13:58
by Mohammad_Dos
how to minimize my batch file window when it starts, using a command

Re: how to minimize my batch file window when it starts

Posted: 17 Apr 2012 14:21
by aGerman
Prepend that line to your code

Code: Select all

@if not defined myvar (set "myvar=a"&start /min cmd /c "%~f0" %*&goto :eof)

Regards
aGerman