[FREDRIK HULDTGREN] > I want to go through a catalogue structure and make a textfile > that lists the files in each catalogue/undercatalogue. I know > that there is a function for doing this somewhere, I just can't > remember what it is right now... > all help is appreciated... import os os.listdir(r"c:\temp") Cheers, // mark