Ask Leo! by Leo A. Notenboom

Where is 'C:\DOCUME~1'? I can't find it on my hard disk.

Search First! Then browse: Categories | Full Archive | By Date | Newsletter
Ask Leo! on Facebook

Home » Windows

Summary: Error messages frequently include filenames of the form 'DOCUME~1' which seem nowhere to be found. They're actually there, just by another name.

One of the error messages I received recently refereed me to a file in the path:

C:\DOCUME~1\MyName\LOCALS~1\Temp

Yet, when I go looking in Windows Explorer, I see nothing like that anywhere. What's up?

In a word: backwards compatibility.

OK, that's two words.

What you're seeing is the result of a legacy that dates back to Window's predecessor, MS-DOS.

That path is there - it's just called something else.

Without trying to sound like the old computer fogey that I actually am, "back in the day" MS-DOS only supported filenames that were at most 8 characters long, followed by an "extension" of up to 3 characters, and could not include certain characters like spaces. Colloquially it's often refereed to as 8.3 or eight-dot-three, and one valid example might be "explorer.exe".

At this point I need to address all the other old computer fogeys out there ready to call me out. I know it actually predates MS-DOS, and that it's not so much a function of the operating system as it is the file system. Fortunately those details are actually irrelevant to people attempting to deal with this issue today.

Now, that was all well and good for a long time. However, other operating systems, such as Unix, allowed you to have file names of much longer length. That meant it was quite valid under Unix even then to have filenames like "A Picture of My Dog.jpg" - longer than 8 characters, and including spaces.

Not so under MS-DOS - or even early versions of Windows. Another example is "iexplore.exe" - it's maxed out at 8.3, but would probably have been better named "iexplorer.exe" since it's Internet Explorer, but that's too long. In order to remain within that older 8.3 limitation, it was simply truncated and we're left with "iexplore.exe".

Eventually Microsoft added "Long Filename support" often noted as "LFN".

"Windows will "make up" a filename for files which are longer than the old 8.3 limit..."

The problem, though, was that a massive amount of software existed that assumed filenames would never be any bigger than 8.3. Now, one could simply define that those old programs wouldn't be able to access LFNs, or one could come up with some kind of a hack.

You can guess which option was chosen.

Those filenames you're seeing are the result of that hack.

Windows will "make up" a filename for files which are longer than the old 8.3 limit for use by programs that only understand 8.3. It does so by taking the first part of the filename, chopping off a couple of characters at the end, and appending a tilde (~) followed by a number. The number is chosen simply to ensure that the resulting filename is unique within that folder.

So what you're seeing:

C:\DOCUME~1\MyName\LOCALS~1\Temp

is really an 8.3 representation of this path:

C:\Documents and Settings\MyName\Local Settings\Temp

which you will find on your hard disk.

So why, after all this time, are programs still reporting filenames using the old 8.3 filename hack? Well, many programs have been around for a long time. One of the most common culprits I see are setup programs, which once created, are often themselves not updated other than to reflect changes in the programs that they're installing. The result is that some setup programs often leave traces of the 8.3 naming convention behind after they're done, in configuration files and in the registry. Those filenames are perfectly valid for any program to still use, and often end up showing up in error messages, as you've seen.

What can you do about it? Pretty much nothing. Just know that when you're looking for names that have "~" followed by a number the end, you're probably really looking for a longer, more descriptive name that starts with the same the same characters before the "~".

Article C2835 - November 10, 2006

Was this article helpful? «Yes» «No»

Recent Comments
14 Comments

I've had an error message that read c|docume~1/admin~1\wer2bee.dir00\mini030209-01.dmp
and then it's dump me out and reboot the machine time. Any ideas?

Posted by: Jose at March 3, 2009 4:13 AM

I found your article to be awesomely easy to follow, lathough, the folder Local settings does not exist in my Documents and Settings folder, even after checking through the owner path, or the other path folders inside it. Please help!!! THis problem is keeping me from updating my flash and that is creating many problems on my computer

Posted by: Chad at March 25, 2009 12:29 PM

I have similar problem.When I have downloaded something my anti-virus avast! has give me warning about virus in c:\DOCUME~1\my name\APPLIC~1\DRVROA~1\Proxyskip.exe When I tried to find this Proxyskip.exe it couldn't be found.Any ideas?

Posted by: Velimir at November 23, 2009 3:40 AM

LEO!!!!!!!!!!! You rock, thanks.Gives me a BLUESCREEN and a crash. Any hope there. Years ago went to locals and got rid of same but this on persistent.

Any help????????????

Posted by: dlp at November 26, 2009 11:25 AM

I had a so-stated "Serious Error" report listing 2 files of this very same type {C:\DOCUME~1\MyName\LOCALS~1\Temp\WER2644.DIR00\mINI012210-01.dmp AND ANOTHER VERY SIMILAR FILE NOTATION}, and immediately causing my system to re-boot when i installed a new Pioneer DVR Drive on my PC. The computer has functioned normally since, but I have been reluctant to try the new DVR, as this was a replacement for a new Pioneer DVR drive which spun the disc in the drive so hard that it ended yo in at least 100 pieces. Can you tell me please

Posted by: Al Avenoso at January 26, 2010 10:48 AM

Post a comment on "Where is 'C:\DOCUME~1'? I can't find it on my hard disk.":



(Name will be included when your comment is published.)



(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

  • Read the article at the top of this page. If your comment shows you didn't, it'll be deleted and ignored.

  • Comment only on this article. Use the Google search box at the top of the page if you have a question about something else.

  • Don't include personal information in the comment. No email addresses. No phone numbers. No physical addresses.

  • Don't spam. Excessive links to unrelated sites within a comment or across multiple comments will cause all such comments to be removed.

  • Don't ask me to recover lost passwords or hacked accounts. I can't, and those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...


Question? Ask Leo!