Error while copying files

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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:.
 
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
 
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
 
Back
Top