Avatar of okamon
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?
Windows Server 2008Storage HardwareStorage

Avatar of undefined
Last Comment
Joe Howard

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Joe Howard

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
nobus

i found this at :  http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/53779044-d453-458b-b8c4-96d41711ea69/

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/
E-Z-D

is it the filename that's too long? or the path?
okamon

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.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
nobus

i haven't been using it, so i can't comment; i posted : "i found this" and i hope it helps
E-Z-D

if folder paths go really deep such as x:\a\b\c\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
Joe Howard

I don't know.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.