Jump to content

Recommended Posts

Posted

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)
Posted

<p>

  On 2/4/2013 at 8:35 PM, 'Jos said:

Use:

$dir & "\myapp.exe"

Jos

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...