New
#11
Re: your side question.
To pin a batch file shortcut to the Taskbar:
Create a new Shortcut on the Desktop using the following Command line in "Type the Location of the item:" (replace "C:\Full Path to my BATCH file.BAT" with the exact path to your own batch file".
Are you able to then Right-Click the shortcut and select "Pin To Taskbar"?Code:C:\Windows\System32\cmd.exe /c "C:\Full Path to my BATCH file.BAT"
To create a shortcut to a Task Schedule, create Desktop Shortcut using the following Command line in "Type the Location of the item:".
If the Task Schedule is in the main "Task Scheduler Library" use something along this line (replace My_TaskName with the exact name of your own Task).
OR:Code:C:\Windows\System32\schtasks.exe /run /tn "My_TaskName"
If the Task Schedule is in the sub-branch of "Task Scheduler Library" use something along this line (replace My_TaskName with the exact name of your own Task; and My Custom Library with your own sub branch name).
Hope that works for you.Code:C:\Windows\System32\schtasks.exe /run /tn "\My Custom Library\My_TaskName"