Error while copying files

G

Guest

Hello All,
I experienced an error while trying to copy some files and folders from my
win2k3 server to my win2k server the error message is

"cannot copy file:the filename you have specified is invalid or too
long.please specify a different name"

First i tried the unc name convention , then i mapped the drive then tried
it did not work same error popped up

to my astonishment i tried to copy the same file from win2k3 to win2k it
worked.Can any one advise what is the cause of this .or guide me in the right
path

Thanks in advance

Vincent
 
P

Pegasus \(MVP\)

Vincent said:
Hello All,
I experienced an error while trying to copy some files and folders from my
win2k3 server to my win2k server the error message is

"cannot copy file:the filename you have specified is invalid or too
long.please specify a different name"

First i tried the unc name convention , then i mapped the drive then tried
it did not work same error popped up

to my astonishment i tried to copy the same file from win2k3 to win2k it
worked.Can any one advise what is the cause of this .or guide me in the right
path

Thanks in advance

Vincent

When placing file information into the path/file name instead of the file
itself then it is easy to exeed the maximum path length of about 250 chars.
Shorten your path/file names and the problem will disappear. To access
inaccessible files, use subst.exe or net.exe:

subst x: "d:\This is some excessively long path name\followed by another
long path name"
net use x: "\\Server\d$\This is some excessively long path name\followed by
another long path name"

Your files are now accessible on drive X:.
 
G

Guest

The suggestions which Pegasus gave was tried before vincent did the post. It
did not work either. May be vincent missed mentioning that mapping using
subst and net also didn't work either...

Vinayak
 
G

Guest

Thanks pegaus for the reply.I did the same befor ethe post as vinayak
mentioned.Still I am wondering why did it work whil copying from 2k3 to 2k
..CAn you put up your views? Thaks
 

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