>> there are far easier ways >> #!/bin/bash >> cat *.txt >outputfile
Well, yes, but if he's kicking things off with: >> os.chdir("C:\\Python23\\programs\\filetree") I'm guessing he's not on Linux. Maybe you're trying to convert him? rd -- http://mail.python.org/mailman/listinfo/python-list