I think you solved it Fredrik. The first ten folders looked like this:
D:\0\1\2\3\4\5\6\7\8\9 22 Chars long. The rest looked like this: \10\11\12\13....\82\83\84 ~ 222 CHars long. Subdir 84 had one file in it named XXXXXXXXXXX.bat That file broke the 255 limit, then subdir 85 wasn't created and when the script tried to copy a file to 85, an exception was raised. Not that it matters. Interesting to know that limits still exists and that this is a NTFS issue. -- http://mail.python.org/mailman/listinfo/python-list