Monday, June 9, 2003 2:31 PM Shawn A. Van Ness

NtfsDisable8dot3NameCreation is your friend

http://www.google.com/search?q=NtfsDisable8dot3NameCreation

If you haven't done so already, I highly recommend setting this tweak in your registry, and rebooting.

It's cute when the dir command treats *.htm like *.html; it's devastating when the del command interprets *.res as *.resx.

Setting NtfsDisable8dot3NameCreation will supress the creation of shortnames for new files, but the only way I know of to remove shortname entries for existing files is to rename them.

for /r %I in (*) do @ren "%I" "%~nxI.no8dot3" && ren "%I.no8dot3" "%~nxI"
for /d /r %I in (*) do @ren "%I" "%~nxI.no8dot3" && ren "%I.no8dot3" "%~nxI"

But be careful -- only do this for data files, not for anything might be installed/registered software.  Your registry is full of shortnames pointing into your ProgramFiles folder!

Comments

# re: NtfsDisable8dot3NameCreation is your friend

Tuesday, June 10, 2003 8:24 AM by Shawn A. Van Ness

I don't. :) I guess I'll have to install Rotor onto a clean test box, if/when I ever get around to it...

Wha, do they hardcode "micros~1.net" in a build script or something?

-S

# re: NtfsDisable8dot3NameCreation is your friend

Tuesday, June 10, 2003 8:14 PM by Ingo Rammer

I can't remember the exact reason anymore. It just came to my mind that I spent some painful hours to figure it out ;)

-Ingo

# re: NtfsDisable8dot3NameCreation is your friend

Wednesday, May 19, 2004 8:01 PM by David M. Kean

Don't do if you're running Norton Anti Virus either...