Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Windows 2008 Windows 2012

Posted on 2014-04-10
3
Medium Priority
?
785 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 59

Accepted Solution

by:
Cliff Galiher earned 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
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…
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 …

971 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