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.
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"