long file names cant copy

hello experts I have about 10k files Im moving off one share to another, but windows explorer wont copy them because the names/path is too long. I found a hotfix on line but further research indicated it broke more stuff than it fixed so I was afraid to install that rollup.

Any suggestions on an easy way to rename/move these files ?

thanks!
WAMSINCAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

William FulksSystems Analyst & WebmasterCommented:
Last time I ran into this, I just mapped drives to the destination and source folders. Like X: and Y: - then just copied from one to the other.
0
WAMSINCAuthor Commented:
I just tried your suggestion and still getting the same error message "the source file name is larger than supported by this file system"
0
dbruntonCommented:
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

oBdACommented:
Just use robocopy, preferably either on the source or target server; it doesn't have problems with long file names.
Example (note that the first argument is source folder, the second is the target folder, then the file mask):
robocopy.exe "D:\Data" "\\Server\Share\Data" *.* /e /copy:DAT /r:0 /np

Open in new window

If you want to copy with permissions, then instead of /copy:DAT, use either /copy:DATSOU, or /copyall.
For further options, enter "robocopy /?".
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FOXActive Directory/Exchange EngineerCommented:
Wamsinc,
Use oBda's method. You will get all the data over with the long file paths.  

https://technet.microsoft.com/en-us/library/cc733145.aspx

you want to go with  /s /e /copyall /v /tee /Log:c:\temp\copyreport.txt

the /v -will show you what files were skipped if any
the /tee will have output on your monitor as well as in the .txt file that I have redirected to that you can look at later.
/copyall will give you the acls, attributes, security, owner, and timestamps from the original source
/s -subdirectories
/e-empty directories
0
FOXActive Directory/Exchange EngineerCommented:
You may not need the quotation marks at all.  If it throws an error when you first run it just go with

robocopy \\sourceservername\C$\remainingpath\  \\destinationservername\C$\remainingpath\  /s /e /copyall /v /tee /log:c:\pathtoyourreportfile.txt
0
WAMSINCAuthor Commented:
found a gui robocopy that worked great called robocop robocopy lol
thanks for the tip!
0
Ross GramCommented:
“Long path tool” is very helpful for this problem. You can solve this problem like copy, delete, long path files by using this tool.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.

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.