Windows Task Scheduler - Running a .BAT File whether user is logged on or not

K

kraemerpw

Hi,I am using Windows 10 Pro. I created a simple .BAT file with the following location and filename:C:\PK_Temp\test.batCurrently, my test.bat file consists of just the following two commands ...Echo "Hi Paul" pause... When I run this .BAT file manually, the Windows Command Prompt (C:\Windows\system32\cmd.exe) opens, displays the text "Hi Paul", and remains open with the prompt "Press any key to continue...". After I press any key, the Command Prompt Closes.After I proved this worked, I created a Task in Windows Task Scheduler to run this .BAT file. For the Trigger, I chose to Begin the Task

Continue reading...
 
Back
Top Bottom