Sign in to follow this  
Followers 0
darksheep

returning values from dos

5 posts in this topic

hi i was woundering if any one could help me with this .

I run a command in does nad need to display it's result in a message box .

here is the autoit3 script i use to run the command

#include <Process.au3>

$rc = _RunDos("start hostname")

sorry guy i am a super noob at coding and skripting actually hate it cause i cant do it but it is verry handy so i am forsing my self to learn

B)

Share this post


Link to post
Share on other sites



hi i was woundering if any one could help me with this .

I run a command in does nad need to display it's result in a message box .

here is the autoit3 script i use to run the command

#include <Process.au3>

$rc = _RunDos("start hostname")

sorry guy i am a super noob at coding and skripting actually hate it cause i cant do it but it is verry handy so i am forsing my self to learn

B)

Lookup StdoutRead in the help files and look at example, will need Beta version


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

still cant figure out how to get it to work B):o:graduated:

Share this post


Link to post
Share on other sites

Hi,

there is getting the result to answer file; use "@comspec" and Runwait;

but @igmeou was trying to return error codes too from DOS; see "DOS Xcopy GUI" link in my signature for the script; I never reallly understood it....

Best, randall

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