Sign in to follow this  
Followers 0
barhoumeh

help very important

8 posts in this topic

plz iwana help

i wana a simple code that search in the app main folder

search and run the found *.exe

:) plz help

Share this post


Link to post
Share on other sites



plz iwana help

i wana a simple code that search in the app main folder

search and run the found *.exe

:) plz help

Hi,

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

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by barhoumeh

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

thanks 99ojo :)

Share this post


Link to post
Share on other sites

Hi.

help very important / help very important

Please 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!

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
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
Sign in to follow this  
Followers 0