Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: File name too long for destination folder?

18 Dec 2013   #1
garuda

Windows 7 Ultimate x64
 
 
File name too long for destination folder?

Backing up an entire SSD to large HDD using a copy command. I received the following message indicating that 50,000 files are too long.

Can anyone explain this situation and what I must do different?




Attached Images
File name too long for destination folder?-capture.jpg 
My System SpecsSystem Spec
.
19 Dec 2013   #2
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Filenames can be up to 255 characters and total pathlength should not exeed 260 characters.

http://msdn.microsoft.com/en-us/library/aa365247.aspx#maxpath
My System SpecsSystem Spec
19 Dec 2013   #3
garuda

Windows 7 Ultimate x64
 
 

I think I asked the wrong question. The better question is: How can I identify which files/folder paths are too long in order the change them. 50K is a lot of files.
My System SpecsSystem Spec
.

19 Dec 2013   #4
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

I would just make a dummy move of those files to another device. Then those that are left over are the ones you have to change.
My System SpecsSystem Spec
19 Dec 2013   #5
rezurect007

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

If all fails.
Use TeraCopy: It lists which files were copied, which were interrupted.
Downloads - Code Sector
My System SpecsSystem Spec
19 Dec 2013   #6
MilesAhead

Windows 7 32 bit
 
 

Here's a utility that searches a folder tree for filenames longer than what you enter in the input dialog:
TLPD / Discussion / Open Discussion:Update for Unicode?

You need to get free scripting language package AutoIt3 to run and/or compile it.
I think there's a utility that actually fixes as well as finds these files. But I don't think it's free. I don't remember the name of it off hand.

Edit: I modified the program in this sourceforge project to also use unc paths(those starting with "\\machinename") so that it can deal with very long paths(I forget what the max is for those but I believe it's several thousand characters.)

Edit2: If you want to use TLPD as is then you don't need to get AutoIt3. If you want to compile the modified source code I recommend downloading the full package from here

Edit3: rereading my source the max UNC should be 32767 or 16 bit signed max
My System SpecsSystem Spec
21 Dec 2013   #7
garuda

Windows 7 Ultimate x64
 
 

Thanks to all. I will try some of these suggestions. After doing some cursory checking, I discovered many of these files were "temp" files that have out-lived their usefulness, and many Adobe "Presets" that these several applications auto generate, in which I have no control over.

I looked at a few and found that some of the Adobe preset files have 20-30 nodes in the DSN. No wonder they got flagged as too long.

I'll see if I can use some of your recommendations. THANKS!!
My System SpecsSystem Spec
Closed Thread

 File name too long for destination folder?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Destination Path too long error in Windows 7
Jai Mata Di! Cheers to all! Issue: When i tried to copy n paste files from my laptop to external hard drive, i used to get a long message <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>...
General Discussion
File Name(s) Would Be Too Long for the Destination Folder
Sorry if this is a repeat post but Iíve found so much about this issue that Iím bewildered & havenít found a Fix. Iím 65 & legally blind so searching the net isnít as easy as it used to be. I have one of a kind Family pics that if lost are gone forever so I back them up on 2 ext HDís in case 1...
General Discussion
xcopy - destination folder becomes a hidden system folder - why?
Hi, I've created a batch file containing the xcopy command to copy the entire partitioned drive to a folder on an external hard drive. However, when it is executed it works fine but the destination folder, called Backup, becomes a hidden system folder. Does any one know why this is the...
General Discussion
seeking fix for ďFile is too large for destination file systemĒ erro
I have a program I wrote in Visual Basic that copies a file from one directory into another directory at a prescribed interval. The Visual Basic programs uses the ShellFileCopy API function ShellFileCopy Visual Basic 6 API Function FreeVBCode code snippet: Copy Files Using the Shell API ...
BSOD Help and Support
File destination name 2 long & mulitple songs in media player
Wasn't sure where to post this and it is a 2 part different questions. I decided to come here because everyone here is far more helpful then over on the microsoft site. Your lucky to get an answer over there. My first question is I am modding my sims 2 game. I use to be able to copy the...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 05:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App