Inconsistent long filename error

R

RRR

A few days ago, I posted this message to another Windows group and
have not gotten any response.

When I try to move a file with a long filename I sometimes get an
error that the filename is too long. Sometimes, I can move it without
a problem and sometimes it gives me this error.

There seems to be no pattern in the occurence of this error.
Sometimes I will get this error when moving a file just to a
sub-directory of the directory it is already in.

There seems to be no logic at all to it, and I am beginning to get a
bit frustrated.

BTW the filenames are really not that long. Most run at most 50
characters.

Can someone help me with this?

Thank you
 
P

Pegasus \(MVP\)

The maximum length for a file name is about 250 characters.
Note that it's not just the name of the file itself but all the
folder names too. Hence

c:\documents and settings\rrr\long file.doc

counts as 43 characters.

You can shorten the path by using appropriate "net use" or
"subst" statements.
 

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