weaponx Posted August 28, 2007 Posted August 28, 2007 hahahahaOk now that WMI code above looked sweet .. I think i'm going to have to learn that...Download the AutoIT version of Microsoft' Scriptomatic for WMIhttp://www.autoitscript.com/forum/index.ph...amp;showfile=29It does 1 million things.
GaryC Posted September 11, 2007 Posted September 11, 2007 Hi All, I know I can get the exit code from RunWait and can read stdout/error with Run, but is there a way to get the exit code with Run so that I can read STDOUT and get the exit code from the same run? Okay, so this isn't reading text files, but I hope it's related enough: The help says that ConsoleWrite will be read by some editors, but won't write to a DOS prompt, so just what is ConsoleWrite? writing to STDOUT? Is there a way to write so that the output will appear if the script is run from a command prompt? Thanks.
weaponx Posted September 12, 2007 Posted September 12, 2007 You can get the exit code from a Run() command using the ProcessGet UDF:http://www.autoitscript.com/forum/index.ph...p;hl=processget
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