Manage Windows Short File Extensions (Windows NT/2000/XP) Category: Home > Windows > File System > Files and Shortcuts
Windows evaluates file extensions on the first three characters, therefore 'filename.html' is actually treated as 'filename.htm'. Therefore if you use a command such as 'del *.htm' to delete all the '.htm' files, you will also delete all '.html' files as well.
To turn this setting off, editing the key found below and set the value of 'Win95TruncatedExtensions' to '0', to turn the feature back on, set the value back to '1'.
 |  |  |  |  |
 |  | (Default) | REG_SZ | (value not set) |  |
 |  | Win95TruncatedExtensions | REG_DWORD | 0x00000000 (0) |  |
 |
 | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem |  |
 |
Settings: |
System Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
Name: Win95TruncatedExtensions
Type: REG_DWORD (DWORD Value)
Value: (0 = disable , 1 = enable)
|
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.
Last Modified: August 5, 2002
|