![]() |
#1 |
Junior Member
Join Date: Jan 2014
Posts: 4
|
![]()
Hi there all,
I cant find the correct term to run in ExecWait. The comand line is working: c:\windows\system32\schtasks /change /TN "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /DISABLE I tried to include it in my script by I didnt find the right term. I tried: ExecWait '"$SYSDIR\schtasks" /change /TN "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /DISABLE' $0 or StrCpy $1 "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" ExecWait '"$SYSDIR\schtasks" /change /TN' "$1" /DISABLE' $0 Can anybody give me a hand? Thank you. |
![]() |
![]() |
|
Tags |
execwait, quotation marks |
Thread Tools | Search this Thread |
Display Modes | |
|
|