Starting a Batch (DOS) file minimized

In my article “How to backup your Evernote notes regularly” I supplied a windows batch file that could be used with the Windows Scheduler to automatically backup your Evernote Notes. In use, however, it soon becomes annoying that the scheduler launches a DOS window to run the script right in the middle of the screen.

The answer to this problem is to specify the command to be used by the Scheduler as follows:

%comspec% /c start “” /min “C:pathtoyourbatchfile.bat”

Note that when you click OK to save the command above you will be warned that you have included arguments in the program text box. You should dismiss the warning by selecting “No” and the command will appear as you specified.

Note: Your batch file must contain an “exit” as the last command in the file, otherwise the minimized command window will not be closed.

One thought on “Starting a Batch (DOS) file minimized

Add yours

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

Up ↑

%d bloggers like this: