I tend to use
Code: Select all
if not DEFINED IS_MINIMIZED set IS_MINIMIZED=1 && start "" /min "%~dpnx0" %* && exit
'batch code here'
exit
Use batch files very frequently, so a bit of a bummer, I guess
Code: Select all
if not DEFINED IS_MINIMIZED set IS_MINIMIZED=1 && start "" /min "%~dpnx0" %* && exit
'batch code here'
exit
Sure,
Code: Select all
if not DEFINED IS_MINIMIZED set IS_MINIMIZED=1 && start "" /min "%~dpnx0" %* && exit
(Program initiation or whatever else here)
exit
Code: Select all
Run, C:\Users\Leon\Dropbox\Offset restart 1.bat,, Hide
Will do, thanks! ❤Tom wrote: ↑Feb 19th, ’20, 21:53 Try Type: CommandCheck the full syntax here:Code: Select all
Run, C:\Users\Leon\Dropbox\Offset restart 1.bat,, Hide
https://www.autohotkey.com/docs/commands/Run.htm