[Tutor] access all files in one directory?

Annika Scheffler annika.scheffler at gmx.net
Wed Nov 12 08:52:29 EST 2003


I would like to access all files in one directory, read their contents. I
need them for a program. 

So far I have a very simple program which takes two input files and creates
one output file.  
I need to give the program file1 and then one file after another in order to
compare it with file1. In conclusion I need to create an output file for
each of the files, except file1.  All the files I need (except file1) are in one
Can I give my program that directory to loop over all the files in it?  

Thanks very much for your help,

Ravens fly in flights, but the eagle flies

NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++

More information about the Tutor mailing list