PsychOfMSE Posted January 31, 2014 Posted January 31, 2014 (edited) ShellExecuteWait("C:\Temp\TAGInstall\autologon.exe", $username & $domain & $password) This line is simply passing 3 pre-defined variables into the Microsoft Autologon.exe program. The problem I'm getting is that the program errors out and says "Usage: autologon <username> <domain> <password>". This leads me to believe that the command line arguments aren't being formatted correctly for some reason. Can anyone look at the line above and see why autoit wouldn't be passing the variables cleanly? Thanks! *EDIT* I've figured out the issue. The following line works perfectly: RunWait("C:\Temp\TAGInstall\autologon.exe" & " " & $username & " " & $domain & " " & $password) Edited January 31, 2014 by PsychOfMSE
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now