sshrum Posted October 22, 2006 Share Posted October 22, 2006 I have a batch file that I run that calls a number of AutoIT programs that I've written. One of these scripts retrieves content and I want it to return the number of files found in a ERRORLEVEL (for lack of a better idea) that I can SET a DOS variable in the batch file to reference in future calls. Is this possible, or is there a better way, or am I just SOL? TIA Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
JerryD Posted October 22, 2006 Share Posted October 22, 2006 I have a batch file that I run that calls a number of AutoIT programs that I've written. One of these scripts retrieves content and I want it to return the number of files found in a ERRORLEVEL (for lack of a better idea) that I can SET a DOS variable in the batch file to reference in future calls.Is this possible, or is there a better way, or am I just SOL?TIAExit #Check it out in the help file (what a concept!). Link to comment Share on other sites More sharing options...
sshrum Posted October 22, 2006 Author Share Posted October 22, 2006 Perfect! Thanx I use EXIT but never know that I could pass a value thru it. Makes sense thou. Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' 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