How to run a batch file minimized?

I have a script to run my VPS extra backups into my PC. There aren’t enough backups to save us 😀

My problem was that sometimes some backups take more time than expected and those pesky command line windows keep coming into front view, interrupting my job. Sometimes, the open close cycle is so fast that you can not keep up, clicking the minimize window.

The solution is to run the batch files minimized.

Below is an example of how the start command can be used to start the batch file backup.bat as a minimized window. Use the /min switch.

start /min backup.bat

Did that worked out for you? Please leave your comments below.

Exit mobile version