Hi,
try the prompt command "dir /b /s c:\*.png" and similarly for other types (note: have a look at other options for the dir command).
This command could be issued through the JShell library to collect the intented list of files which could then be processed in any way (even diplaying..).
udg
Edit: attached a working skeleton.
Sorry, I took for me the funniest part of this project leaving out the boring one..eheheh