How to start a batch file minimized with task scheduler in Windows 8? - %comspec% method not working anymore after Windows 7

前端 未结 6 1561
再見小時候
再見小時候 2021-02-01 14:45

After Windows XP, I always use the trick below to start batch files minimized with Windows Task Manager.

From http://www.pcreview.co.uk/forums/running-bat-files-minimize

6条回答
  •  太阳男子
    2021-02-01 15:29

    Another possibility: a small freeware program named CMDH, that simply runs the requested orders in background. For example:

    cmdh MyScript.cmd
    

    No need to add "exit" to the script. Tested working in Windows XP SP3, and there is no reason it should fail on Windows 8.

提交回复
热议问题