bhatta Posted July 24, 2008 Share 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 Link to comment Share on other sites More sharing options...
picaxe Posted July 24, 2008 Share Posted July 24, 2008 Search the help file for $cmdline Link to comment Share on other sites More sharing options...
rasim Posted July 24, 2008 Share 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) Link to comment Share on other sites More sharing options...
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