sch_On.bat fails to create elevated autostart task
JSRRosenbaum opened this issue · 0 comments
JSRRosenbaum commented
sch_On.bat fails to create elevated autostart task
Error Message:
"Invalid syntax. Mandatory option 'tn' is missing."
Environment
Windows 11 22H2
AltSnap 1.62
Steps to reproduce
- Navigate to AltSnap Directory (
$env:APPDATA\AltSnap
in my case ) - Right click in explorer to "Open in Terminal" (Open Powershell at that directory)
- Launch sch_on.bat using command:
. .\sch_On.bat
(Press Any key to continue)
Expected behaviour
elevated autostart task is created
Actual behaviour
Returns Error:
Invalid syntax. Mandatory option 'tn' is missing.