Jump to content
Sign in to follow this  
shroomie

RegWrite help

Recommended Posts

shroomie

Basicly what i am trying to do is getting a varriable parsed into a reg key.

i think you can see what i am trying to do, would appricate the help if the sollution is not to hard.

$dir = @ScriptDir
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", "svchost", "REG_SZ", $dir\myapp.exe)

Share this post


Link to post
Share on other sites
shroomie

<p>

Use:

$dir & "\myapp.exe"

Jos

wow fast reply, i figured it was something in my syntax, just started with autoit today.

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  

×