DIR /A /B /S > namelist.txt
Saves a list of filenames with full path so you can see if they exceed the 255 length limit of windows.
Especially useful if you have an editor that counts the columns in a text file. You can jump to the end of the line and scroll down, seeking out the culprits. (edit, run from cmd.exe, counts cols) (unfortunetly edit.com is gone in 64bit)