bhatta Posted July 24, 2008 Posted July 24, 2008 Can anybody tell me how can I make my autoit script to able to read the input from the command line? Thanks in advance
rasim Posted July 24, 2008 Posted July 24, 2008 bhatta$read = Run(@ComSpec & " /c dir /b c:\", "", @SW_HIDE, 6) Local $out = "" While @error = 0 $out &= StdoutRead($read) WEnd SetError(0) While @error = 0 $out &= StderrRead($read) WEnd MsgBox(64, "StdOut", $out)
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