Cannot Copy ....Folder Name Is Too Long

B

Bob L.

I get the error: Cannot Copy ......Folder Name Is Too Long. Is there a work
around for this issue other than making the folder name shorter?


Thanks, Bob
 
G

Guest

Bob L. said:
I get the error: Cannot Copy ......Folder Name Is Too Long. Is there a
work
around for this issue other than making the folder name shorter?


Thanks, Bob


Bob,

If the path is over 260 characters long (plus null terminating character)
then you will get this error. A fix is to create a shorter path name
 
P

Pegasus [MVP]

Bob L. said:
I get the error: Cannot Copy ......Folder Name Is Too Long. Is there a
work
around for this issue other than making the folder name shorter?


Thanks, Bob

You could use robocopy.exe to get around the issue. A better way would be to
put your information into your files, not into the folder and file names.
260 characters is a lot of information - it is, in fact, the length of the
following folder + file name:

d:\My Files\some Subfolder\My documents\Spring 2009\Plans\My Files\some
Subfolder\My documents\Spring 2009\Plans\My Files\some Subfolder\My
documents\Spring 2009\Plans\My Files\some Subfolder\My documents\Spring
2009\Plans\Travel office\final bookings\fares.xls
 
D

db

sometimes it can help
an issue like this if you
change the environment
path for the temporary
files.

not sure if it will resolve
the issue but it wouldn't
hurt.

basically, change the
current default locations
for temps and tmp to
c:\temp

the folders they are
in now, add to a longer
path than just being
c:\temp

http://support.microsoft.com/kb/310519

then reboot afterwards
--

db·´¯`·...¸><)))º>
DatabaseBen, Retired Professional
- Systems Analyst
- Database Developer
- Accountancy
- Veteran of the Armed Forces

"share the nirvana" - dbZen

~~~~~~~~~~~~~~~~~~
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top