Sign in to follow this  
Followers 0
PsychOfMSE1

Help with syntax, please?

2 posts in this topic

RunAs($sAdminUser, $sdomain, $sAdminPassword, 0, @ComSpec & " /c " & 'REG ADD & ' $KEY_x64 ' & /v & ' $VALUE ' & /t & ' $TYPE ' & /d & ' $DATA ' & /f"', "", @SW_HIDE)

I keep getting a syntax error, and quotes in autoit are the bane of my existence.  Can anyone help me out with what I might be doing wrong?

Thank you so much!

Share this post


Link to post
Share on other sites



Try this. If it does not work, please provide the values of your vars.

RunAs($sAdminUser, $sdomain, $sAdminPassword, 0, @ComSpec & ' /c ' & 'REG ADD "' &  $KEY_x64 & '" /v'  & $VALUE & ' /t' & $TYPE & ' /d' & $DATA & ' /f', "", @SW_HIDE)

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0