okamon
asked on
filename too long soluiton
I am copying data from a external hard drive to a new server - server 2012. I am getting file name to long message for some files and folders. Both drives are NTFS. There are too many files and folders with the file name too long problem. it will be too much trouble for me to dig into each of them to rename it. What is the best option to resolve the problem?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
is it the filename that's too long? or the path?
ASKER
thanks MacroShadow. does fastcopy works better than robocopy ? I heard robocopy could also resolve the issue, but haven't tried it yet. If I want to copy NTFS permission, do I just need to check the ACL? how about all stream?
bobus, what is the difference between Karen's Replicator and robocopy? can it copy ntfs too?
I have tried 7 zipped in the past, no problem copy the zip file over, but I still had problem when I unzipped the files.
bobus, what is the difference between Karen's Replicator and robocopy? can it copy ntfs too?
I have tried 7 zipped in the past, no problem copy the zip file over, but I still had problem when I unzipped the files.
i haven't been using it, so i can't comment; i posted : "i found this" and i hope it helps
if folder paths go really deep such as x:\a\b\c\d\e\f\g\h\filenam e.txt
and then that error occures that you mention above,
it can sometimes be easily avoided by starting the copy deeper in the path like start with folder d\e\f\g\h\filename.txt
and then that error occures that you mention above,
it can sometimes be easily avoided by starting the copy deeper in the path like start with folder d\e\f\g\h\filename.txt
I don't know.
I have the problem because I use Blaze Advisor rule engine, and it automatically creates files and directories that exceed the limits. I have two solutions that I use:
1) Karen's Replicator http://www.karenware.com/powertools/ptreplicator.asp#Download which allows me to make backups with long filenames. But i can also just copy trees with it.
2) 7zip - this is an archiving tool like winzip. I pack the file into an archive, then i can unpack it without the dreaded message. http://www.7-zip.org/