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: 1984


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.156.47.142

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



Recent Forum Posts

Job Spammer: Prutha Siri - Javelin Systems
dwirch posted on September 10, 2017 at about 6:15 in Spammers

New security implemented
dwirch posted on September 7, 2017 at about 7:16 in Site News

Malicious IP Checker Companion Tool
dwirch posted on August 12, 2017 at about 20:24 in Site News

Job Spammer: Steve Adams
dwirch posted on August 8, 2017 at about 7:44 in Spammers

New security implemented
dwirch posted on August 8, 2017 at about 6:43 in Site News

New security implemented
dwirch posted on July 23, 2017 at about 6:58 in Site News