Readdir is what you want, unless you want to search for the files recursively (in subdirectories too). You must match the resulting filenames to a regexp like /\.exe\z/. Just don't forget to escape the dot!
In reply to Re: searching folder for specific files
by ambrus
in thread searching folder for specific files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |