Sign in to follow this  
Followers 0
Borje

( SOLVED ) Problem with Regwrite

3 posts in this topic

#1 ·  Posted (edited)

Hello

Is that anybody here that can help me with this?

RegWrite("HKCR\Applications\Autoit4.exe\shell\Run\Command", "", "REG_SZ", ""@WorkingDir &"Privat\Programmering\Autoit4\Autoit4.exe"" ""%1"" %*")

The error is: ==> Error in expression.:

RegWrite("HKCR\Applications\Autoit4.exe\shell\Run\Command", "", "REG_SZ", ""@WorkingDir &"Privat\Programmering\Autoit4\Autoit4.exe"" ""%1"" %*")

RegWrite("HKCR\Applications\Autoit4.exe\shell\Run\Command", "", "REG_SZ", ^ ERROR

What to do for have this to work?

Edited by Borje

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

You need some &'s in there.

""&@WorkingDir &"Privat\Programmering\Autoit4\Autoit4.exe "&"%1"&" %*"

Edited by kaotkbliss

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

Thank you kaotkbliss's for the help it works now...

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