M HYPE SPLASH
// general

How do I get task scheduler to run my batch file minimized

By Emma Terry

Is there a way to have the task scheduler run my batch file minimized. I thought I could do something like the following but does not work. I tried without those quotes as well.

enter image description here

1 Answer

Program/script: %windir%\system32\cmd.exe

Add arguments: /C start "" /MIN C:\temp\keepwarm.bat

For explanation, read about (internal) START command or run start /? from an open command prompt.

Note: if the (minimized) window stays open after the bat script ends then use

Add arguments: /C "start "" /MIN C:\temp\keepwarm.bat^&exit"

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy