Solved

destination does not support long file names

Posted on 2004-09-30
11
5,903 Views
Last Modified: 2011-08-29
I get the above error message when I copy a Word document from the network drive and then paste it to another directory on the same network drive.

The name is "Squadon Directory.doc"  

it also happens on other similar names with other extensions like Excel.

The server is NT2000

Copy..pasting the file from the harddrive to the same harddrive works no problem.

Can anyone help? Thanks.

0
Comment
Question by:NeerDeth
  • 4
  • 2
  • 2
  • +3
11 Comments
 
LVL 2

Expert Comment

by:dev8
ID: 12193601
Hello,

Is this just happening with the Word documents and Excel documents?  What is the filesystem in use?  
0
 
LVL 9

Expert Comment

by:tosh9iii
ID: 12193659
maybe the folder name is too long

Can you give us the entire path (address) of the file, you know like:  C:\document and settings\folder name\squadron directory.doc

Is it the same for all of the documents, or only that one?
0
 

Author Comment

by:NeerDeth
ID: 12194216
yes, the folder names are very long, quite often over 100 char longs and 4+ directories deep
but not all people have trouble copying files to these folders

0
 

Author Comment

by:NeerDeth
ID: 12194240
i'm told that it's file system 'posix'
but I've never heard of that, so I'm not sure
0
 

Author Comment

by:NeerDeth
ID: 12194341
scratch the posix
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 9

Expert Comment

by:tosh9iii
ID: 12210493
Is renaming those folders with a shorter name a possibility?
0
 

Author Comment

by:NeerDeth
ID: 12210619
no
0
 
LVL 12

Accepted Solution

by:
alandc earned 500 total points
ID: 12312087
I have encountered the same and similar errors before.  (and tosh9iii is very close to the correct answer.)  What will work is taking spaces OUT of the directory name -or- the file name.  It will probably work okay if either of them have spaces but NOT BOTH.  Strange but true.  In most cases I advise folks to keep long file names and scratch long directory names using anacronyms instead like PWC\planning\teams or AFG\financial\committee.

This become expecially important the longer the paths get because the entire length cannot be over 256 characters. This may be the limit you have run into. In this case you might get away with a few longer directory names but will need to shorten some of them. Your directory structure is probably NTFS (instead of POSIX):

http://www.burnthacker.com/archives/000019.html
NTFS Maximum Path Name Length
"The maximum length of a path on Windows (at least from the command line) is 256 characters. "
What this means from a practical perspective is that if you have deep paths structured you'll run into stray messages like: "The system cannot find the path specified."

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/naming_a_file.asp
According to Microsoft that is supposed to be extended to "32,767 characters, composed of components up to 255 characters in length" using Unicode functions however I would expect that most functions still use Windows API where "the maximum length for a path is MAX_PATH, which is defined as 260 characters".

0
 
LVL 1

Expert Comment

by:CSSupport2007
ID: 22184899
I've seen this before a few times when copying a file to another folder.  The total character length was not close to the max.  After logging out and back in, the user I was supporting was able to copy the file into the folder that was giving the error previously.
0
 
LVL 1

Expert Comment

by:CSSupport2007
ID: 22184933
Also, check the mapping of the drive you're trying to save to.  The user I was supporting had lost his
0
 
LVL 1

Expert Comment

by:maynardinc
ID: 22306971
CSSupport2007....Your fix did work. It was weird, because the "Map Network Drives" showed that drive to be mapped, but "My Computer" did not, and the user was able to move files, but would get that error.
I went into Windows Explorer, Unmapped the drive using Tools - Disconnect Network Drive, then remapped, and the error went away.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tasks remote computer 12 148
XP as a dual boot with Windows 10 10 90
Windows 7 and Pro update issues 5 87
Event ID: 5719 / Source: NETLOGON 9 99
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now