On Sun, 6 Aug 2006 21:24:03 -0500, "xp_user" wrote in
microsoft.public.win2000.file_system:
>I read somewhere that Windows automatically creates a mirror entry for each file in a directory to support older programs that don't read LFNs - is it possible to disable this feature to reduce bloating?
[Try to keep line length to something reasonable, like 72 characters]
Two methods spring to mind:
fsutil behavior set disable8dot3 1
or the registry:
Key: HKLM\SYSTEM\CurrentControlSet\Control\FileSystem
Name: NtfsDisable8dot3NameCreation REG_DWORD 1
Reboot. Existing SFNs will remain.
Be prepared for a number of things to break - the registry is full of
SFNs, SFNs with spaces in them can no longer be accessed, and you can
expect some unfortuitous results from restoring a backup.
For completeness' sake, here is how one can disable LFNs:
Key: HKLM\SYSTEM\CurrentControlSet\Control\FileSystem (same as above)
Name: Win31FileSystem REG_DWORD 1
This is of course even more likely to break stuff.
Your call.
--
Michael Bednarek
http://mbednarek.com/ "POST NO BILLS"