lionfaggot Posted February 19, 2011 Share Posted February 19, 2011 would i just use _rundos("command1" & @crlf & "command2") i think you guys get what i mean, i want to cd into something then do another command after that, issue is every _rundos opens a new command prompt unaffected by the last command if that makes sense anyways Link to comment Share on other sites More sharing options...
Xenobiologist Posted February 19, 2011 Share Posted February 19, 2011 Why asking how to do it with that function? Why don't you explain what you want to achieve? Maybe there is another, better way?! Please, try to explain your goal non-function-related. Thx! 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...
PsaltyDS Posted February 19, 2011 Share Posted February 19, 2011 Put the "commands" in a .bat or .cmd file and run that. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
JoHanatCent Posted February 20, 2011 Share Posted February 20, 2011 would i just use _rundos("command1" & @crlf & "command2")$rc = _RunDos("command1"&"&&"&"command2") ? 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