vibinsathyan
asked on
Cannot copy files - source filename are larger than is supported error
Not able to copy files from one drive to another drive showing error : source filenames are larger than is supported.
I need to copy over 700GB to another location.
Any recommendations or solutions please...
I need to copy over 700GB to another location.
Any recommendations or solutions please...
ASKER
Seems like that ..but it is impossible to change file names as this is a backup folder(incremental) and have thousands of folders and subfolders. any other way I can copy??? because my drive is full and need to copy that to any external HDD inorder to free the space for daily backups.
if you have your files and folders like
D:\folder/a/b/c/d/e/f/g/h/ i/j/k/l/m/ n/o/p/r/s/ t/file.txt
D:\folder/a/b/c/d/e/f/g/h/ i/j/k/aa/b b/cc/file. bmp
D:\folder/a/b/c/d/e/f/g/h/ i/j/k/11/2 2/33/file. dosx
and it is too long, try to map new network drive e.g. X: and map D:\folder/a/b/c/d/e/f/g/h/ i/j/k path.
then try to copy files and folders from X: to your external drive - maybe it will work like this.
If not then probably you have to copy files and folders from D:\folder/a/b/c/d/e/f/g/h/ i/j/k to D:\TempBackup and then from D:\TempBackup to your external drive
D:\folder/a/b/c/d/e/f/g/h/
D:\folder/a/b/c/d/e/f/g/h/
D:\folder/a/b/c/d/e/f/g/h/
and it is too long, try to map new network drive e.g. X: and map D:\folder/a/b/c/d/e/f/g/h/
then try to copy files and folders from X: to your external drive - maybe it will work like this.
If not then probably you have to copy files and folders from D:\folder/a/b/c/d/e/f/g/h/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can confirm that the path length is the issue with this nifty (and free) little tool:
http://www.softpedia.com/get/System/File-Management/Path-Scan.shtml
Assuming that's the problem, there are several ways to resolve it. A couple simple approaches are:
=> Create a .Zip file containing the files you want to copy (use a name for the .Zip file that doesn't exceed the path length restrictions) ... and then just copy the .Zip file. I use 7-Zip for these kind of operations.
=> Use the LongPath fixer tool from Corz: http://corz.org/windows/software/accessories/Long-Path-Fixer-for-Windows.php
=> Use the "subst" command to substitute a very short path (e.g. a drive letter) for the long part of the path ... this can make the total path much short (well within the path length restrictions). See examples here: http://vimalsuresh.com/2013/08/08/how-to-fix-file-path-too-long-error-while-copying-deleting-or-opening-files-without-using-third-party-applications/
http://www.softpedia.com/get/System/File-Management/Path-Scan.shtml
Assuming that's the problem, there are several ways to resolve it. A couple simple approaches are:
=> Create a .Zip file containing the files you want to copy (use a name for the .Zip file that doesn't exceed the path length restrictions) ... and then just copy the .Zip file. I use 7-Zip for these kind of operations.
=> Use the LongPath fixer tool from Corz: http://corz.org/windows/software/accessories/Long-Path-Fixer-for-Windows.php
=> Use the "subst" command to substitute a very short path (e.g. a drive letter) for the long part of the path ... this can make the total path much short (well within the path length restrictions). See examples here: http://vimalsuresh.com/2013/08/08/how-to-fix-file-path-too-long-error-while-copying-deleting-or-opening-files-without-using-third-party-applications/
ASKER
Thanks everyone for the replies..Let me try oBdA suggestion..other suggestions seems not practical in my scenario..I was trying to copy installing teracopy and it is indeed working till now(only 20% finished)..let me confirm the outcome..
ASKER
oBdA suggestion (Robocopy) worked..but it is taking a lot of time (only 25% finished of 700GB and 20Hrs finished) ..thank you for the replies.. :)
To expand on oBdA's great answer, you can use a GUI utility that performs the same command line function, it's called 'RoboMirror', it's great and it's free.
try to reduce number of subfolders or lenght of characters in the file name