Error Message: "Cannot Copy File: Path is too deep"

Status
Not open for further replies.

lorinser75

Golden Member
Apr 16, 2003
1,018
0
76
Hey guys,
I need some assistance,
Does anybody know what is causing this message to appear
"Cannot Copy File: Path is too deep"

I'm trying to transfer a file from 1 PC to another across the network.
Both machine are loaded with Win2k Pro. It was working fine for a while (transfer freely no problem), and this issue suddenly pop up. I check all "permission" and everything checked out.
Another problem is for some weird reason, whenever I tried to send e-mail with attachments, It is always a failure - server is not responding..blah..blah, but without attachment, it went in a few seconds. This is via DSL line that is connected to a router.
Could this be hardware issue or windows issue?

I really appreciate any help. Thanks
 

lorinser75

Golden Member
Apr 16, 2003
1,018
0
76
It is from "my documents" folder in my HD to another folder in C: in another system
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
Use robocopy. It supports 65535 char paths. It comes on anything XP and newer and can be downloaded right off MS's website for older OS's.

Code:
robocopy \\2kmachine\c$\somepath c:\newfolder\ *.* /s /e
 

Mushkins

Golden Member
Feb 11, 2013
1,631
0
0
Use robocopy. It supports 65535 char paths. It comes on anything XP and newer and can be downloaded right off MS's website for older OS's.

Code:
robocopy \\2kmachine\c$\somepath c:\newfolder\ *.* /s /e

Be careful with this. Robocopy may support it, but the OS does not.

You've got I think 256 characters for the *entire* path and name of the file. I remember in the good old Kazaa days accidentally downloading a file with a bunch of junk letters and numbers as the name on a WinXP system. The OS wouldn't even let me delete it, I had to boot onto a linux livecd to get rid of the damn thing.

Edit: and we all got suckered by a necro thread from 2005. :p
 

QuietDad

Senior member
Dec 18, 2005
523
79
91
You can also get around it by going to a command prompt and doing the following:
set sname1 = "C:\some\really\obnoxios\long\path"
set sname2 ="C:\some\equally\obnoxios\long\path"
copy sname1\file.name sname2\file.name
 

Fardringle

Diamond Member
Oct 23, 2000
9,200
765
126
For those providing new answers today, you've given excellent advice....to a ten-year-old thread. ;)
 

Ketchup

Elite Member
Sep 1, 2002
14,558
248
106
For those providing new answers today, you've given excellent advice....to a ten-year-old thread. ;)

Yeah, it's a shame AT never gave him/her a good answer back then. Maybe the OP figured it out. We may never know.
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
Be careful with this. Robocopy may support it, but the OS does not.

You've got I think 256 characters for the *entire* path and name of the file. I remember in the good old Kazaa days accidentally downloading a file with a bunch of junk letters and numbers as the name on a WinXP system. The OS wouldn't even let me delete it, I had to boot onto a linux livecd to get rid of the damn thing.

Edit: and we all got suckered by a necro thread from 2005. :p

Yeah suckered ; ; However to correct, Windows 2000 NTFS supported a path length of 32767 characters. You could have deleted a file with that long of a name via cmd.exe (not command.com) or via the \\?\ method.

Just finished our XP migration 12 months ago and there was plenty of XP / 2003 systems with ~1000+ character path depths.
 
Status
Not open for further replies.