barhoumeh Posted July 24, 2009 Share Posted July 24, 2009 plz iwana help i wana a simple code that search in the app main folder search and run the found *.exe plz help Link to comment Share on other sites More sharing options...
99ojo Posted July 24, 2009 Share Posted July 24, 2009 plz iwana helpi wana a simple code that search in the app main foldersearch and run the found *.exe plz helpHi,welcome to forum.You want to search the whole prgram files folder for *.exe and then execute them all? Not really.Be more precise.;-))Stefan Link to comment Share on other sites More sharing options...
barhoumeh Posted July 24, 2009 Author Share Posted July 24, 2009 (edited) yeh iwana run it all but not in program file in my autoit script folder thats mean after i compiled this script the script will search in her folder and find all *.exe and run it Edited July 24, 2009 by barhoumeh Link to comment Share on other sites More sharing options...
99ojo Posted July 24, 2009 Share Posted July 24, 2009 yeh iwana run it all but not in program file in my autoit script folder t Hi, #include <file.au3> $spath = "path to main app folder" $aExeFile = _FileListToArray ($sPath, "*.exe") For $i = 1 to UBound ($aExeFile) - 1 shellexecute ($sPath & "\" & $aExeFile [$i]) ; maybe with paramters see help shellexcute Next Link to comment Share on other sites More sharing options...
barhoumeh Posted July 24, 2009 Author Share Posted July 24, 2009 thanks 99ojo Link to comment Share on other sites More sharing options...
rudi Posted July 24, 2009 Share Posted July 24, 2009 Hi.help very important / help very importantPlease choose a descriptive topic for future postings:To double the message "help very important" is absolutely unmeaning Thanks, Rudi. Earth is flat, pigs can fly, and Nuclear Power is SAFE! Link to comment Share on other sites More sharing options...
SpookMeister Posted July 24, 2009 Share Posted July 24, 2009 Hi.Please choose a descriptive topic for future postings:To double the message "help very important" is absolutely unmeaning Thanks, Rudi.As per the grammar improvement request in your sig Rudi, I believe you wanted to say:"To double the message "help very important" is absolutely meaningless." [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] Link to comment Share on other sites More sharing options...
rudi Posted July 27, 2009 Share Posted July 27, 2009 Hi.As per the grammar improvement request in your sig Rudi, I believe you wanted to say:"To double the message "help very important" is absolutely meaningless."Propably, yeah! The word I was looking for is the English term for "nichtssagend". Translated word by word that would be "telling nothing" ~ "absolutely non descriptive". Thanks, you're the first one giving me "English feedback" >_< I appreciate it!Regards, Rudi Earth is flat, pigs can fly, and Nuclear Power is SAFE! 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