Jump to content

Recommended Posts

Posted

Smoke N left me this line but im not sure what he means or how to do it.

Well, I would imagine if you are "sending" something that is stored in a variable, that you would actually have to send that variable within the function itself... wouldn't you?

any hint & tips are greatly apreciated.

Posted

my variable is

$sEncrypted

im trying to use it in the command

run('net user "Administrator" "$sEncrypted"')

but when I run that, mylocal admin password comes out as $sEncrypted but it should be my variable.

  • Moderators
Posted

Run('net user "Administrator ' & $sEncrypted & '"')
Or something to that effect.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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...