Link to home
Start Free TrialLog in
Avatar of Agrippa
AgrippaFlag for Netherlands

asked on

Long path problems: how to resolve this?

Hi all,

I am copying large amounts of data from one harddrive to another on Windows 10 Pro 64 bit. I keep getting errors that some files cannot be copied because the file path is to long. Therefor I need to skip them, look them up through Windows Explorer manually and rename / copy / rename them to fix this.

I found out that the max path lengt is 260 characters by standard.
I want to resolve this, so I do not need to skip files in the copy process and fix it afterwards.

Few questions:

- Can I increase the path length (temporary)
- Is there a tool to fix this (i.e. a auto rename / short name tool)
- Other suggestions?

Thank you,
ASKER CERTIFIED SOLUTION
Avatar of ☠ MASQ ☠
☠ MASQ ☠

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Agrippa

ASKER

Hello Masq / Nobus and Qlemo,

I have a problem with RoboCopy:

It makes a compare and tells me he is done, but I am missing 1,1GB of files. RoboCopy also tells me that, after compare the copy is 96,7%. I have not used the MIR option, only the /e option, the rest I kept default.

This is the status screen (I do not have confirmation the program has finished), but it says (see green text): Ended.
User generated image
This is what I do before building and executing the script:
User generated image
Can you guys help me?
Avatar of ☠ MASQ ☠
☠ MASQ ☠

Add a log option to the script (/LOG:logfile.txt) that should give you an idea why the 1.1GB isn't being copied.  Of the top of my head there could be a permissions issue preventing Robocopy reading those but let's see what the log says.
Avatar of Agrippa

ASKER

Hi Masq,

please see the logfile, I only notice that everything is the same en the missing 1,1GB appear nowhere.
log-robo.txt
Avatar of Agrippa

ASKER

I notice that these files do not get copied

User generated image