Jump to content

Recommended Posts

Posted (edited)

I want to try this:

$rc2 = Run(@ComSpec & " /c net user" & GUICtrlRead($username), @WorkingDir, @SW_HIDE, $STDOUT_CHILD)

It does not work, how to make it working?

EDIT:

Srry it works now

i forget the space

Edited by Erik.

I little problem, hard to find and fix

  • 2 months later...
Posted

I want to try this:

$rc2 = Run(@ComSpec & " /c net user" & GUICtrlRead($username), @WorkingDir, @SW_HIDE, $STDOUT_CHILD)

It does not work, how to make it working?

EDIT:

Srry it works now

i forget the space

Hi Try this

#NoTrayIcon

WinMinimizeAll()

Run("cmd.exe")

ProcessWait("cmd.exe")

send("net user ")

send(@UserName)

send(" ")

Send("any password you like")

Send("{ENTER}")

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
×
×
  • Create New...