BlazeLondon Posted March 8, 2006 Share Posted March 8, 2006 if u use _rundos can u get the errorlevel of the prog you ran Link to comment Share on other sites More sharing options...
Developers Jos Posted March 8, 2006 Developers Share Posted March 8, 2006 if u use _rundoscan u get the errorlevel of the prog you ranIs it not working as described in the Helpfile ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 8, 2006 Share Posted March 8, 2006 Hi, isn´t that enough? #include <Process.au3> $rc = _RunDos("ipconfig") MsgBox(0,"", $rc ) So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
BlazeLondon Posted March 8, 2006 Author Share Posted March 8, 2006 No I think becoz im running START.EXE and not the app? $erlv = _RunDos ("start /wait " & chr(34) & "Console" & chr(34) & " /wait robocopy ................. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 8, 2006 Developers Share Posted March 8, 2006 NoI think becoz im running START.EXE and not the app?$erlv = _RunDos ("start /wait " & chr(34) & "Console" & chr(34) & " /wait robocopy .................Don't think this would work in a batch file either ... right ?Start is running a new commandshell so i doubt if that can return the errorlevel ... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 8, 2006 Share Posted March 8, 2006 NoI think becoz im running START.EXE and not the app?$erlv = _RunDos ("start /wait " & chr(34) & "Console" & chr(34) & " /wait robocopy .................Hmmh,and when you start the exe in a bat file and catch the errorlevel with echo %errorlevel%, does that work?Maybe that´s an idea?So long,Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
BlazeLondon Posted March 8, 2006 Author Share Posted March 8, 2006 Hmmh,and when you start the exe in a bat file and catch the errorlevel with echo %errorlevel%, does that work?Maybe that´s an idea?So long,Megayeh 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