Jump to content
Sign in to follow this  
LeeSylvester

Retrieving data from command window execution

Recommended Posts

LeeSylvester

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
LeeSylvester

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.