Hello there ..
Sometimes I just can't understand Autoit ..
I am trying to execute a simple cmd command, but Autoit refuses to do so.
Here the example script:
Local $iPID = Run(@ComSpec & ' /C quser', @ScriptDir, @SW_HIDE, $STDOUT_CHILD)
ProcessWaitClose($iPID)
Local $sOutput = StdoutRead($iPID)
MsgBox(0, 0, $sOutput)
Other way round:
Local $iPID = Run("C:\Windows\System32\quser.exe", "", @SW_HIDE, $STDOUT_CHILD)
ProcessWaitClose($iPID)
L