Is there a max on the number of folders deep and file name?

J

Jeannie Hertel

Hi - Has anyone seen the error message "The disk you were
saving to or the disk used for temporary files is full.
Free some space on this disk and try again, or save to a
different disk". The disks are NOT full neither is the
temp directory. I have been able to save the same file
with the same name one or two levels up without issue.

I was told (but can't find documentation) that this error
is due to the combination of folders deep and the number
of characters of the filename is too long. Does anyone
know what the real answer is and where I can find
documentation?

Much appreciated.....
Jeannie Hertel ([email protected])
 
M

Matthew Mucker [MSFT]

Jeannie,

Is this error coming from the operating system or an application? If it's
from an application, it could be that the app is not passing the correct
error from the OS to the user.

There are many factors that affect the length of a path you can have. For
many uses, 254 characters is about the max, depending on a whole lot of
things.

-Matt
 
D

David Bowen

I have seen this behaviour.

It was in a folder only two levels deep. I could not create the file using
Windows Explorer, but I could create it from inside Visual Basic.
Eventually even VB couldn't create files in that folder.

My solution was to delete the folder and re-create it. This fixed the
problem for me and it never re-appeared.

I chalked it up to experience.

The 250-ish character limit for path names is also something that is a fact
of life.

David Bowen
 

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