Solved

Windows 2008 Windows 2012

Posted on 2014-04-10
3
766 Views
Last Modified: 2014-04-21
Hello,

I've recently deployed a Windows 2012 server.  I needed to complete a data transfer from Windows 2008 to Windows 2012.  

I'm unable to transfer several hunder files due to this:
The file name(s) would be too long for the destination folder.  You can shorten the file name and try again, or try a location that has a shorter path.

There are too many files in too many subfolders to try and locate and individually rename them.  

What other options do I have?

Why does Microsoft allow the creation of files with long file names, and not allow those files to be able to be transferred to a newer server??

Thanks in advance.
Real-Timer
0
Comment
Question by:realtimer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:petieg
ID: 39993145
I'm not sure if it'll work -- but i use this tool for so many copies it's been a real help.
Microsoft RichCopy (it's like a GUI for RoboCopy)

http://social.technet.microsoft.com/Forums/windows/en-US/33971726-eeb7-4452-bebf-02ed6518743e/microsoft-richcopy

Best of luck to you.
0
 
LVL 58

Accepted Solution

by:
Cliff Galiher earned 500 total points
ID: 39993199
"Why does Microsoft allow the creation of files with long file names, and not allow those files to be able to be transferred to a newer server??"

Because you aren't being fair to MS on this one. The *path* is too long, not the filename alone.

If you copy from old-drive-letter:\some-short-path\some-long-filename to new-drive-letter:\same-short-path\same-long-filename then the copy will work. Every time.

BUT if you copy from old-drive-letter:\short-path\file to new-drive-letter\new-long-path\same-file, and that path is too long for windows to handle... boom. Error.

Now a caveat. What matters is the filesystem. Even if you create a share, you have to look at the filesystem. Let's say you create a folder at c:\users\another-folder\parge-cad-files\some-long-folder

You share that last folder as \\cad

Copying files from old-c:\files to \\cad may not work. Because internally the path isn't the nice short name \\cad, but maps to the long new folder structure that may make the path too long,
0
 
LVL 14

Expert Comment

by:Justin Yeung
ID: 39994357
Gliff Galiher, I think the issue is the file name not the path, according to what the author mentioned.
The file name(s) would be too long for the destination folder

in windows word, I believe the file name supports max with 255 characters, however if you are Mac users or other OS, you can create a file name longer than that. but in windows world I will not be able to delete or move.

I had the same problem previously, I end up using 7 zip to copy and rename, the delete the file within 7 zip.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question