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(s) Would Be Too Long for the Destination Folder

07 Feb 2013   #11
Kaktussoft

Microsoft Community Contributor Award Recipient

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

Still don't understand....sorry.

Assume you copy from
C:\dfgfdg\aaaabbb
to
K:\fddfhbdhbdf\gggg

Be sure the last string is shorter! Full pathname (including folder) is 255 characters as far as I know


My System SpecsSystem Spec
.

07 Feb 2013   #12
Kaktussoft

Microsoft Community Contributor Award Recipient

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

Maximum Path Length Limitation

In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating null character. For example, the maximum path on drive D is "D:\some 256-character path string<NUL>" where "<NUL>" represents the invisible terminating null character for the current system codepage. (The characters < > are used here for visual clarity and cannot be part of a valid path string.)
My System SpecsSystem Spec
07 Feb 2013   #13
mc1548

Windows 7 Home Premium 64bit.
 
 

Quote   Quote: Originally Posted by Kaktussoft View Post
Maximum Path Length Limitation

In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating null character. For example, the maximum path on drive D is "D:\some 256-character path string<NUL>" where "<NUL>" represents the invisible terminating null character for the current system codepage. (The characters < > are used here for visual clarity and cannot be part of a valid path string.)
I counted & have 153 characters if I add all the characters in my main folder & all of my sub folders, 260 subtract 153 = 107 & none of my pics are anywhere near 107 characters.
My System SpecsSystem Spec
.


07 Feb 2013   #14
Kaktussoft

Microsoft Community Contributor Award Recipient

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

Quote   Quote: Originally Posted by mc1548 View Post
Quote   Quote: Originally Posted by Kaktussoft View Post
Maximum Path Length Limitation

In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating null character. For example, the maximum path on drive D is "D:\some 256-character path string<NUL>" where "<NUL>" represents the invisible terminating null character for the current system codepage. (The characters < > are used here for visual clarity and cannot be part of a valid path string.)
I counted & have 153 characters if I add all the characters in my main folder & all of my sub folders, 260 subtract 153 = 107 & none of my pics are anywhere near 107 characters.
But how about destination folder?
My System SpecsSystem Spec
08 Feb 2013   #15
Wandering one

Win7 sp1 Pro 64bit / XP sp2 Pro (games only)
 
 

I always use the results of this tutorial to copy or move and have used it on pretty much every type of files upto multifolder videos at close to 100g's.
Context Menu - Add Copy To Folder and Move To Folder

Hope it works for you Art.
My System SpecsSystem Spec
Reply

 File Name(s) Would Be Too Long for the Destination Folder




Thread Tools





Similar help and support threads
Thread Forum
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?
General Discussion
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
Destination path too long
Hello every body, At work, there is one PC which i want to take a backup. over there, there is storage server which is being used for the Backup. I took copy and paste from D Drive to the Storage server but during the copying process a message appeared that the is too long as shown in the...
Backup and Restore
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 06:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App