fortypoundhead.com

Windows NT Short File Extensions

Posted On 2007-05-03 by FortyPoundHead
Keywords: Windows NT Short File Extensions (Windows NT 4.x)
Tags:  Windows NT Windows 2000
Views: 1978


Windows NT evaluates file extensions on the first three characters, therefore 'filename.html' is actually treated as 'filename.htm'. The side affect is that if you use a command such as 'del *.htm' to delete all the '.htm' files, you will also delete all '.html' files as well. This functionality can be disabled by modifying the registry.
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'.

Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
Value Name: Win95TruncatedExtensions
Data Type: REG_DWORD
Data: (0 = disable , 1 = enable)


About the Author

FortyPoundHead has posted a total of 1974 articles.

 


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.145.101.33

Before you can post, you need to prove you are human. If you log in, this test goes away.



Recent Forum Posts

Fold Code Manager into main KB?
dwirch posted on July 20, 2017 at about 7:55 in Site News

Job Spammer: Sam Mallon
dwirch posted on July 18, 2017 at about 18:36 in Spammers

When setting up a certificate authority ...
dwirch posted on July 13, 2017 at about 9:07 in General

Q&A borked
dwirch posted on July 4, 2017 at about 7:27 in Site News

Q&A borked
dwirch posted on June 27, 2017 at about 7:00 in Site News

SSL Now Active
dwirch posted on June 16, 2017 at about 8:40 in Site News