mirror of
https://github.com/jazir555/GamesDows.git
synced 2025-10-23 19:14:04 +02:00
Fix XML echo commands and update schtasks command
This commit is contained in:
@@ -94,7 +94,7 @@ echo ^</Triggers^>
|
|||||||
echo ^<Principals^>
|
echo ^<Principals^>
|
||||||
echo ^<Principal id="Author"^>
|
echo ^<Principal id="Author"^>
|
||||||
echo ^<UserId^>%USERNAME%</UserId^>
|
echo ^<UserId^>%USERNAME%</UserId^>
|
||||||
echo ^<LogonType^>InteractiveToken^</LogonType^>
|
echo ^<LogonType>InteractiveToken</LogonType>
|
||||||
echo ^<RunLevel^>HighestAvailable^</RunLevel^>
|
echo ^<RunLevel^>HighestAvailable^</RunLevel^>
|
||||||
echo ^</Principal^>
|
echo ^</Principal^>
|
||||||
echo ^</Principals^>
|
echo ^</Principals^>
|
||||||
@@ -128,7 +128,7 @@ echo Delete the existing scheduled task if it exists
|
|||||||
schtasks /delete /tn "RunDelayedExplorerStart" /f
|
schtasks /delete /tn "RunDelayedExplorerStart" /f
|
||||||
|
|
||||||
echo Create the scheduled task using the XML file
|
echo Create the scheduled task using the XML file
|
||||||
schtasks /create /tn "RunDelayedExplorerStart" /xml "%XML_PATH%" /ru "%USERNAME%"
|
schtasks /create /tn "RunDelayedExplorerStart" /xml "%XML_PATH%" /ru "%USERNAME%" /rp ""
|
||||||
|
|
||||||
echo Delayed Explorer start script and VBScript created in Steam folder.
|
echo Delayed Explorer start script and VBScript created in Steam folder.
|
||||||
echo Scheduled Task added to run the script at logon.
|
echo Scheduled Task added to run the script at logon.
|
||||||
|
Reference in New Issue
Block a user