>work its way through all the files in a
>folder automatically
1) C:>for %a in (file*.*) do process %a
2) If your compiler expands wildcards on the command line into a list of files,
C:>process file*.*
and in process.adb
for i in 1 .. ada.command_line.argument_count loop
process_one(ada.command_line.argument(i));
end loop;
3) If you're using Claw, see Claw.Directories.For_Every_Directory_Entry
4) If you're using Posix, see the equivalent
5) I believe such a directory scanning operation is being added to the Ada
standard library, and there
is/are at least one implementation - search comp.lang.ada