BlogProgramming

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.

Artigos Relacionados

Deixe um comentário

O seu endereço de email não será publicado. Campos obrigatórios marcados com *

Este site utiliza o Akismet para reduzir spam. Fica a saber como são processados os dados dos comentários.

Botão Voltar ao Topo
João Clérigo - Photography
Fechar

AdBlocker Detetado
AdBlocker Detected

Por favor ajude este website permitindo a visualização de alguns anúncios. Obrigado. Please help this website allowing the view of some advertising. Thank you!