Prev Previous Post   Next Post Next
Old 30th January 2014, 16:57   #1
Junior Member
Join Date: Jan 2014
Posts: 4
Question Using ExecWait with quotation marks in command

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
StrCpy $1 "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem"
ExecWait '"$SYSDIR\schtasks" /change /TN' "$1" /DISABLE' $0

Can anybody give me a hand?

Thank you.
heinz_ketchup is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

execwait, quotation marks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump