calle,
the only thing being that there is something you must do with that script.

the udf placed somewhere in your script and use it like bryce told (windir is the var for windows directory which varies by setup):

$dir = dirplus("%windir%",".exe",1)
for each $file in $dir
? $file
next

this little peace calls the dirplus which is wherever you want in the script file and returns all the exe's in your windows directory.
can it be hard?
_________________________
!

download KiXnet