Thread
:
Using ExecWait with quotation marks in command
View Single Post
30th January 2014, 18:54
#
4
Afrow UK
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Try:
ExecWait `"$SYSDIR\schtasks.exe" /change /tn "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /disable` $0
Stu
Afrow UK
View Public Profile
Visit Afrow UK's homepage!
Find More Posts by Afrow UK