As you may be aware, whenever Windows 95 creates a file with a name
that cannot be supported in MS-DOS (either because of length or lower-
case letters), it creates a special LFN (Long FileName) entry in the
disk directory. If the reason is because of length, the LFN and the
equivalent MS-DOS filename will not look very similar. For example:
LFN This is a long filename.txt
The '~1' is a numeric tail that is created by Windows to avoid any
filename collisions. One of the many problems associated with this
scheme is the fact that if you copy a file from place to place on
the system, its MS-DOS name may change. For example, if there was
already a DFN of THISIS~1.TXT in a directory and you copy the above
file there, the DFN for the new file will be THISIS~2.TXT even though
the LFN is the same.
Microsoft has buried a second algorithm in the system. With this
second one they use the first 8 characters of the LFN if possible
and only put a numeric tail on the filename if they absolutely need
to. This results in far less 'un-stable' MS-DOS filenames. Although
it can't completely eliminate the problem, it does cut it down some.
To enable this second algorithm on must make a change in the system
registry. This change has been published in several magazines and on
FileSystem\NameNumericTail = hex:00
For those who either don't know how (most people) or are sensably
nervous about spelunking in the registry, yours truly has provided
the enclosed REG file. Just copy it to your desktop and double-left-
click it. Your registry will be altered, new vistas will open before
you, the seas will part...
This change will only affect new file activity.
Enjoy computing, Steven L. Zook 72310,1304
P.S. No rights reserved.
No responsibilty assumed.
No deposit, no return.