0

I have a lnk to a bat file that opens a minimized window when ran. It works fine.

However if I create a task in Task Scheduler by doing cmd /c "C:\...\task.bat.lnk", it no longer opens in minimized mode. How to fix?

1
  • 2
    Schedule the batch file using the start command. See start /?. Note first set of quotes are interpreted as the Window title. Start is an internal command of cmd.exe. So cmd /c start "Title" /min "C:\...\task.bat". Nov 20, 2021 at 17:56

0

Your Answer

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

Browse other questions tagged or ask your own question.