Sign in to follow this  
Followers 0
LeeSylvester

Retrieving data from command window execution

3 posts in this topic

Hi guys,

I'd like to fire a dos command. Now, I've worked this out with no problem, but what I can't figure out is a) how to suppress the command window and :) how to retrieve the result of the command into my AutoIt script. Does anyone know the best way to do this?

Thanks,

Lee

Share this post


Link to post
Share on other sites

Run it with @SW_HIDE and use StdoutRead to get the data.

Thanks, that's a fast reply and very helpful.

Lee

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0