troubleshooting Question

Backing up files with filename\path length  >256 characters in Windows 10 Home 64.

Avatar of hypercube
hypercubeFlag for United States of America asked on
Windows 10Storage SoftwareWindows OSHardware
12 Comments3 Solutions156 ViewsLast Modified:
I have 400GB of files to back up for safety purposes onto an external USB HD.
I started using just the copy and paste for the whole thing and, it appears, this worked OK - probably better than one should expect.
However, there were many filename/path combinations that were too long.

The files aren't "mine" and I don't have any way to judge how to change the path length.
Yet, I'd like to get the backup job completed so I can move on to the next task.

I've tried running xcopy
C:\WINDOWS\system32>xcopy "C:\office" F:\office /c /d /e /h /i /k /q /r /s /x /y
but this results in
Unable to create directory - [name]
File creation error - The system cannot find the file specified.

This is on a Windows 10 Home 64-bit workstation.

Now, I've checked and the files appear to be there even if the filename/path length is greater than 256 characters.
There are too many to manually deal with this and I'd like to back up the remaining files that were initially missed.

Once the backup is done, perhaps we will be able to shorten the path lengths.  But the backup really needs to be done first if at all possible.

I'm doing this remotely so my ability to do things with the hardware or to boot from DVDs, etc. is accordingly limited.
What would you do?
ASKER CERTIFIED SOLUTION
kenfcamp

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros