Big File name?

  • Thread starter ViniciusLaureano
  • Start date
V

ViniciusLaureano

I can't open some word and pdf files. It says "access denied" or "the file
name is invalid" or simply nothing happens.
I can't copy, rename, etc. I think that the file name is too big but I don't
know how to fix the problem.
Does someone know what to do?

Thanks.
 
M

Michael Bednarek

I can't open some word and pdf files. It says "access denied" or "the file
name is invalid" or simply nothing happens.
I can't copy, rename, etc. I think that the file name is too big but I don't
know how to fix the problem.
Does someone know what to do?

Which Operating System? How exactly are you trying to open them?
Double-click in Explorer? Or through the Open dialog of some (which
exactly) application?

There is a possibility that the path/filename is indeed too long. The
limit is ~259 characters. The way around that is to use the command
SUBST to create a drive letter pointing to the directory with the
offending filename; e.g.:

SUBST T: "C:\Documents and Setting\Username\My Documents\Very long Dirname 1\Very long Dirname 2\Very long Dirname 3\Very long Dirname 4\Very long Dirname 5\Very long Dirname 6\Very long Dirname 7\Very long Dirname 8\Very long Dirname 9\Very long Dirname 10\Very long Dirname 11"

and then navigate to T:; alternatively, you could rename the individual
directories forming that very long path.
 

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