Agrippa
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,
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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
please see the logfile, I only notice that everything is the same en the missing 1,1GB appear nowhere.
log-robo.txt
ASKER
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.
This is what I do before building and executing the script:
Can you guys help me?