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
ASKER CERTIFIED SOLUTION
Avatar of Joe Howard
Joe Howard
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of nobus
nobus
Flag of Belgium image

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/
Avatar of E-Z-D
E-Z-D
Flag of Belgium image

is it the filename that's too long? or the path?
Avatar of okamon
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.
Avatar of nobus
nobus
Flag of Belgium image

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

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
Avatar of Joe Howard
Joe Howard
Flag of United States of America image

I don't know.
Windows Server 2008
Windows Server 2008

Windows Server 2008 and Windows Server 2008 R2, based on the Microsoft Vista codebase, is the last 32-bit server operating system released by Microsoft. It has a number of versions, including including Foundation, Standard, Enterprise, Datacenter, Web, HPC Server, Itanium and Storage; new features included server core installation and Hyper-V.

86K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo