darksheep Posted November 15, 2005 Share Posted November 15, 2005 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 Link to comment Share on other sites More sharing options...
BigDod Posted November 15, 2005 Share Posted November 15, 2005 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 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 More sharing options...
darksheep Posted November 15, 2005 Author Share Posted November 15, 2005 thanks Link to comment Share on other sites More sharing options...
darksheep Posted November 15, 2005 Author Share Posted November 15, 2005 still cant figure out how to get it to work Link to comment Share on other sites More sharing options...
randallc Posted November 15, 2005 Share Posted November 15, 2005 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 ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now