Jump to content
Sign in to follow this  
Excalibur

DOS Command Output

Recommended Posts

Excalibur

I know this has been asked before but I can't seem to find anything with the forum search feature, any tips?

At any rate, I would like to execute a dos command line call, and get the output of the call. So far I see how to get the return code, how to execute a command and so forth. Suggestions? Thanks for any assistance in advanced.


Ooo Ëxçã¿îbúr ooO"Information Is Not Knowledge." ~Albert Einstein

Share this post


Link to post
Share on other sites
sstouk

I normally redirect the result of a Dos command into the text file and parse it.

Seems to work every time without any problems.

Share this post


Link to post
Share on other sites
Excalibur

I guess that will suffice, it isn't repeated very often. However, is this a custom program you call, otherwise how do you redirect output, so far I don't see how as I intend to call a program that is not of my creation.


Ooo Ëxçã¿îbúr ooO"Information Is Not Knowledge." ~Albert Einstein

Share this post


Link to post
Share on other sites
arcker

search for stdoutread in autoit help file

that's what you search for (the example is included)

:P


-- Arck System _ Soon -- Ideas make everything

"La critique est facile, l'art est difficile"

Projects :

[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list]

Share this post


Link to post
Share on other sites
Excalibur

O.k. I'm pretty sure I understand how to accomplish this task now, thank you very much for your help. :P


Ooo Ëxçã¿îbúr ooO"Information Is Not Knowledge." ~Albert Einstein

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  

×