PC Review


Reply
Thread Tools Rate Thread

Disable automatic creation of short file names

 
 
xp_user
Guest
Posts: n/a
 
      7th Aug 2006
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?


--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-

 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      7th Aug 2006
Reduce bloating? Have a look at the size of your average file.
I bet it is greater than 10,000 bytes. A short file name requires
11 bytes, or around 0.1% of the average file size . . . Now
since the cost of disk space is less than $1.00 per Gigabyte,
you would save 10 billionths of a Dollar per file if you could
disable this feature (which I don't think you can).


"xp_user" <(E-Mail Removed)> wrote in message
news:5vxBg.1974$uW1.890@dukeread06...
> 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?
>
>
> --------------= Posted using GrabIt =----------------
> ------= Binary Usenet downloading made easy =---------
> -= Get GrabIt for free from http://www.shemes.com/ =-
>



 
Reply With Quote
 
Michael Bednarek
Guest
Posts: n/a
 
      7th Aug 2006
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"
 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      7th Aug 2006

"Michael Bednarek" <ROT13-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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"


Now this is a useful command, fsutil.exe! Until now I had been
unaware of it. It seems to come with WinXP only but the WinXP
version appears to run well under Win2000.


 
Reply With Quote
 
Jerold Schulman
Guest
Posts: n/a
 
      7th Aug 2006
On Sun, 6 Aug 2006 21:24:03 -0500, "xp_user" <(E-Mail Removed)> wrote:

>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?
>
>
>--------------= Posted using GrabIt =----------------
>------= Binary Usenet downloading made easy =---------
>-= Get GrabIt for free from http://www.shemes.com/ =-


If you have no 16-bit applications, you can implement
tip 0026 » NTFS - Disable 8.3 Name creation.
in the 'Tips & Tricks' at http://www.jsifaq.com

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I disable automatic chart creation in Excel? Huang Microsoft Excel Charting 1 12th Nov 2009 11:02 PM
Long file names to short file names =?Utf-8?B?Um9iZXJ0X0xfUm9zcw==?= Microsoft Access Queries 2 9th Dec 2006 07:52 AM
File Names: List Long file Names from Database List of short file names Ben Microsoft VB .NET 4 6th May 2006 01:20 AM
Disable automatic hyperlink creation in Outlook 2003 =?Utf-8?B?Rml4SXREaWs=?= Microsoft Outlook Discussion 0 7th Apr 2006 01:03 PM
Long file names suddenly converted to short file names Saira Windows XP General 1 29th Mar 2005 10:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:01 PM.