Folder compare with very long path and file names (255+ chars)

Not sure this is the right area for this; if not, let me know...

Anyone have any idea how to copy files from one place to another when the file path name length exceeds what Windows 2000 can handle natively?  The folders in question, if you navigate to the end of the folder structure, once you hit the limit, either Windows throws an error window "Can't access this folder.  Path is too long.", or if the folder itself goes over the path limit it refuses to change folders (with no error or message), or if the files within the folder go over the limit, it won't show the files in that folder (again, without error or message).

I've been using xcopy to copy the files from one server to another, then use WinDiff to ensure they are the same.  However, both of these utilities also have the path name length limit, so they're no good for me.  Any ideas?  Programs, reghacks, patches, etc?
LVL 1
HatchITAsked:
Who is Participating?
 
ee_ai_constructCommented:
Question answered by asker or dialog valuable.
Closed, 500 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Use 8.3 file and folder names - would require good scripting or manual commands.  I had a similar problem and this helped me.  
0
 
HatchITAuthor Commented:
Thought of that, but I need to keep the original filenames and security, as the users will be searching for the original file names.

And for additional information:

If you can't tell me a program that can do this, but can show me how it can be done (preferrably with VB.NET or VB6), that'd work.

Also, the files and folders got around the limitation because additional shares had been set up several folders under the original share, meaning that what was originally \\servername\sharename\folder1\folder2\folder3\folder4 now becomes \\servername\newshare, thereby eliminating several levels of folder characters.  However, I need to be able to copy the entire folder all at once.  And no, creating the share directly at the root folder I want to work with doesn't work either.  :-(  It's still too long.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Cyber-DudeCommented:
The EXACT tool for you would be xxcopy. Its free and it does exactly what you are asking; Checkout the /BB options:

Links:
xxcopy home page:
http://www.xxcopy.com/index.htm

xxcopy Command reference:
http://www.xxcopy.com/xxcopy01.htm

Good luck

Cyber
0
 
HatchITAuthor Commented:
Nah, won't work.  Had a look through the xxcopy group archive, and as of four months ago, the author said he will not support 256+ char path + file names.  See http://www.xxcopy.com/xxgroup/m08/msg08162.htm for the last message from the author.

Anyone else?
0
 
HatchITAuthor Commented:
No-one has any additional ideas?
0
 
Cyber-DudeCommented:
Hmmmm....

I'll provide you with an answer later.

Cyber
0
 
Cyber-DudeCommented:
OK
Found a great idea for you. Sience the 255 chars is an OS limitation and no copy software under Windows will be able to commit your task. It is best, to my knowledge to use an external kernel that will allow you full access to the data you are trying to copy as well as byond the 255 chars ability. I thought of doing the following:
1. Download Knoppix (which is a full bootable Linux along with all hardware recognition and forth).
2. Burn the image on any CD and boot from it to view all the files on any NTFS/FAT32 partition.
3. In console, 'su' to become root, then mount your drive with 'mount -rw /dev/hdaXX'. Do your copy with 'cp <path><file> <path><file>'.
4. There you go:

Links:
Knoppix download site:
http://www.knoppix.net/get.php
CP command line:
http://www.linuxforum.com/shell/cp/107-8.php

Cyber
0
 
HatchITAuthor Commented:
This is going to be on a production server (our main data server for Australasia), so I'm a bit loath to play around with Linux stuff on our server.

Besides, we've finally found a solution.  HP OpenView Storage Mirroring has an almost 40,000 char limit on pathnames and runs as a service.  :-)  It's also what our colleagues in North America are already using, so I'll be getting my copy soon.  I've already tested it out here and it does everything we need it to (and then some!).

Thanks anyway.
0
 
Cyber-DudeCommented:
Good luck

Cyber
0
 
HatchITAuthor Commented:
Ok, thanks, been wondering how to clean this up...
0
 
Cyber-DudeCommented:
Have somthing might help you - that is if you are willing to try that. I have encountered a case (tried it my-self and it works) which might provide you with generic direction; Checkout the following link:

http://www.experts-exchange.com/Operating_Systems/Q_21215217.html

Good luck

Cyber
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.