File name too long for paste


J

John Herbster

When trying to paste more than a hundred thousand files copied from
one drive to another I get an error message "File name too long." or
something like that. What is the easiest way to locate that (or
those) files so that I can fix the name. TIA, JohnH
 
Ad

Advertisements

K

Ken Blake, MVP

When trying to paste more than a hundred thousand files copied from
one drive to another I get an error message "File name too long." or
something like that. What is the easiest way to locate that (or
those) files so that I can fix the name. TIA, JohnH

Try half of the files at a time to determine which half it's in. Then
try half of that half at a time, and so on.
 
Ad

Advertisements

M

Mark L. Ferguson

I would use the command line, to set all the files I want to copy to having
the 'archive' bit set, then copy with the switch to turn off the bit as it
copies, also using the switch to ignore errors. After the copy, look at the
original files with the attrib utility, to find any file that still has the
archive bit set.

From the command prompt, type
xcopy /?
and
attrib /?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top