Path to Deep

G

Guest

I am taking a folder that contains files from a portable hard drive that was
taken from a server and putting that information from the portable hd to
another portable hd.
So, server - to portable hd(1), then portable hd(1) through my pc to
portable hd(2)

When I try to do this an error message comes up saying:
Cannot copy nameoffile: The path is too deep.

I have done quite a bit of research online and have tried several options
like; renaming the file, copying the folder directly to my HD on my pc and
still does not work.

Any ideas?
 
E

Ed Metcalfe

HelpPlease said:
I am taking a folder that contains files from a portable hard drive that
was
taken from a server and putting that information from the portable hd to
another portable hd.
So, server - to portable hd(1), then portable hd(1) through my pc to
portable hd(2)

When I try to do this an error message comes up saying:
Cannot copy nameoffile: The path is too deep.

I have done quite a bit of research online and have tried several options
like; renaming the file, copying the folder directly to my HD on my pc and
still does not work.

Any ideas?

This is caused by the filepath being too long (over 255 characters, IIRC).

This is either going to be because the file name is too long, or because the
file is stored in sub-directories within sub-directories within
sub-directores...

Renaming the directories and/or file to a shorter name (perhaps even a
single character) should sort it out.

Ed Metcalfe.
 
P

Pegasus \(MVP\)

HelpPlease said:
I am taking a folder that contains files from a portable hard drive that was
taken from a server and putting that information from the portable hd to
another portable hd.
So, server - to portable hd(1), then portable hd(1) through my pc to
portable hd(2)

When I try to do this an error message comes up saying:
Cannot copy nameoffile: The path is too deep.

I have done quite a bit of research online and have tried several options
like; renaming the file, copying the folder directly to my HD on my pc and
still does not work.

Any ideas?

If you have some very long folder names at the far end of the path
then it may be difficult to use Ed's recipe to fix the problem. As a
temporary measure you can do this in order to reach these long
folder names:

- Click Start / Run / cmd {OK}
- Type this command:
subst Q: "c:\documents and settings\Some User\Some Folder\{etc} {Enter}

Get this command to point you to the middle of your excessively
long path. You can then access its full depth via drive Q: and rename
the offending folders.
 

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