Solved

Windows 2008 Windows 2012

Posted on 2014-04-10
3
753 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
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 57

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

773 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