Run command in minimized window

If you're using a command-line tool like 7z.exe, change the command type to MS-DOS Batch Function and it will only open a single window for the entire operation even if the tool is run multiple times.

Add @runmode:min if you want it to open minimised. (@runmode:hide will hide it completely so there's no way to see what's going on and no easy way to cancel it, which you probably don't want.)

There's no reason to involve cmd.exe if you're using 7zG.exe. It should work without it. Whether it runs in serial or in parallel is largely up to 7zG.exe but you can sometimes do things to make GUI tools wait even if they don't by default. I suspect 7zG.exe waits by default though, unless my memory is mistaken.

2 Likes