Jump to content
Sign in to follow this  
Gordoni

Need help with regwrite

Recommended Posts

Gordoni

Look at this code

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\D2GSP\EasyRun", "EasyRun", "REG_SZ",$location")

I have problems to use $location

(3) : ==> Unterminated string.:

Any 1 can help?


Share this post


Link to post
Share on other sites
Mobius

Hey Dude,

you have answered your own question.

you accidentally appended a quote to the end of your location variable.

causing the unterminated string error. :)

Edited by Mobius

Share this post


Link to post
Share on other sites
euverve

Fix:

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\D2GSP\EasyRun", "EasyRun", "REG_SZ",$location)

Edited by Thatskie

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  

×