Destination Path Too Long in Windows 10 Pro 64-bit

I notice when I copy certain files and folders to and from different hard drives I get a "Destination Path Too Long" message and it asks me if I want to cancel or skip. How can I prevent this from happening in the future? Any fixes? I don't remember having this issue in Windows 7 Pro 64-bit.
Brett LarsonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ITSysTechSenior Systems AdministratorCommented:
Windows has a limitation of 260 characters for the path length so my guess is that the path limitation doesn't come into play during creation of deep nested sub-folders but does become relevant when attempting to copy/paste. Did you actually do a copy/paste or did you try selecting the folder in Windows Explorer and dragging it over to the external drive?

Reference

Edit: How deep are your files i.e. c:\folder\folder\folder\folder\folder\folder\folder\ ?
JohnBusiness Consultant (Owner)Commented:
The systems are the same for oath length from Windows 7 forward. You need to shorten your paths or face no end of problems
RaminTechnical AdvisorCommented:
You can use Robocopy command to copy your data on that location.
Also in future don't use very long name for directories or files.

You can also bypass that by modifying Registry:
https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

JohnBusiness Consultant (Owner)Commented:
For long term stability it is better to work within the rules. Windows 10 new builds obliterate bad practices of past
dbruntonQuid, Me Anxius Sum?  Illegitimi non carborundum.Commented:
Use the subst command at the command line to shorten your path.

I'll assume you have a destination folder like this:

h:\folder1\folder2\folder3\folder4\folder5

At the command line do

subst  z:  "c:\folder1\folder2\folder3\folder4\folder5"

Go back to Windows Explorer and do your copying to z:

Once done go back to the command line and do

subst  z:  /d  (This will remove your substituted drive)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
McKnifeCommented:
About https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/

-> this only applies to applications that care. Windows explorer does not care.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 10

From novice to tech pro — start learning today.