Also folgendes:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
GUICreate("Form1", 626, 448, 192, 124)
GUIsetonevent($GUI_EVENT_CLOSE, "close")
opt("GUIOnEventMode", 1)
GUIsetstate(@sw_show)
$input = GUICtrlCreateInput("Input1", 456, 400, 121, 21)
$Button1 = GUICtrlCreateButton("Klicken um das Passwort eines Benutzers zu ändern", 160, 400, 291, 25, $WS_GROUP)
GUIctrlsetonEvent($Button1, "_lol")
Func _lol()
Run("cmd.exe")
Sleep(200)
GUICtrlRead($input)
Send ("net user " & $input)
Send("*")
Send("{Enter}")
EndFunc
GUICtrlRead($input)
Func close()
Exit
EndFunc
While 1
Sleep(234)
WEnd
Is nich so professionle aber egal. Wenn ich jetzt auf dem button drück dann passiert folgendes: Er startet cmd und schreibt dort "net user 3*" woher bringt er die drei eigentlich müsste dort doch, das was in der inputbox drin steht, stehen.
Bitte um Hilfe
G SaeFireStorm