Jump to content

returning values from dos


 Share

Recommended Posts

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)

Link to comment
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


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

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...