Minimizing batch code, seemingly not working

Discussion, questions and support.
Post Reply
User avatar
Oblomov
Posts: 49
Joined: Mar 4th, ’19, 19:44

Post by Oblomov » Dec 20th, ’19, 15:16

Hello,

I tend to use

Code: Select all

if not DEFINED IS_MINIMIZED set IS_MINIMIZED=1 && start "" /min "%~dpnx0" %* && exit

'batch code here'

exit
For instantly minimizing batch files, upon use. However, when evoked from FK, it seems to not work, i.e. not get minimized. This would usually not matter much in my case, as I use ZMover, however, it is rather dysfunctional, when it concerns CMD windows... so yeah, is this perhaps some sort of a limitation of sorts? 🤔

Use batch files very frequently, so a bit of a bummer, I must say
Post Reply