File name too long for paste

  • Thread starter Thread starter John Herbster
  • Start date Start date
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
 
On Mon, 17 Dec 2007 08:42:00 -0600, "John Herbster"
<no-swen@no-swen.com> wrote:

> 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.


--
Ken Blake, Microsoft MVP Windows - Shell/User
Please Reply to the Newsgroup
 
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 /?

--
Mark L. Ferguson
e-mail subject line must include "QZ" or it's deleted
Holiday Lights: http://www.geocities.com/marfer_mvp/Xmaslgt.zip .
"John Herbster" <no-swen@no-swen.com> wrote in message
news:ueRvfsLQIHA.4196@TK2MSFTNGP04.phx.gbl...
> 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
 
Back
Top