Solved

problem hiding known file type extensions

Posted on 2001-06-19
17
240 Views
Last Modified: 2013-12-28
Certain file type extensions (dll and sys for example) continue to appear in explorer despite checking 'hide known file types' in View|Options. I have checked and unchecked and rebooted, but a few such extensions persist. The vast majority of known extensions are hidden as expected.
0
Comment
Question by:jhcarver
  • 5
  • 4
  • 4
  • +2
17 Comments
 
LVL 27

Expert Comment

by:Asta Cu
ID: 6208235
Choose Start > Programs > Windows Explorer.
Choose View > Folder Options.
Click the View tab in the Folder Options dialog box.
Select "Hide File Extensions for Known File Types."
Click OK.

That should work, can you tell us a bit more about your setup?  I can't ever recall seeing dll files or sys files as hidden.  Interesting, will explore further.

Asta

0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 6208244
I asked what your goal is here, since there is the issue of double extensions. To make your viewing easier, Windows offers the option of turning off the viewing of file extensions. If you do that, however, you can easily be fooled by files with double extensions. Most everyone has been conditioned, for example, that the extension .TXT is safe as it indicates a pure text file. But, with extensions turned off if someone sends you a file named BAD.TXT.VBS you will only see BAD.TXT. If you've forgotten that extensions are actually turned off you might think this is a text file and open it. Instead, this is really an executable VisualBasic Script file and could do serious damage. For now you should always have viewing extensions turned on.   At least that's been my understanding, and another reason I asked about your goal on hiding these.

Asta
0
 
LVL 6

Expert Comment

by:kahlean
ID: 6209343
well there are a few more setting that could be check as well in your view option in additional of the hide file extension of know file types.

1. Do not show hidden files or folders
2. Hide protected operating system file

Check this two option as well

Regards
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:jhcarver
ID: 6209884
"Hide File Extensions for Known File Types" is and has been selected all along; only recently have I noticed that a few system related? extensions are appearing in explorer.
Is it possible that extensions such as .dll have always been there and are supposed to be visible despite "hiding"?
"Do not show hidden files or folders" is also selected. I don't find a choice to "Hide protected operating system file".

PS: (to Asta) I run a small program called WatchDog which intercepts scripting files and prompts me to open or not; it would find a file named BAD.txt.vbs

0
 
LVL 6

Expert Comment

by:kahlean
ID: 6209915
okay are you running win 98 or win me by the way, the configuration might differ
0
 
LVL 8

Expert Comment

by:Navid
ID: 6210182
Have you changed the file attribute to "Hide" ? Because not all system files are automaticly set to hide attribute.
Mark the system files which are not hidden and "Right click"
Choose "Properties" from the menu
Now check the option which says "Hide"
Navid
0
 
LVL 8

Expert Comment

by:Navid
ID: 6210188
Also use the same "property" from the menu and check the option which says "Protected"
0
 
LVL 8

Expert Comment

by:Navid
ID: 6210191
You can also use Dos to change file attribute.
0
 

Author Comment

by:jhcarver
ID: 6214013
I have Windows 98 SE. To Navid - I am not trying to hide the file itself, just the extension for known types. I checked another Windows 98 system and found that .dll, ,sys, etc. were also visible despite hiding extensions for known types. Apparently, this is normal behavior in explorer; I just never noticed it before.

To Asta: you suggested this possibility with your first comment. Please confirm your thought that this is normal behavior, and I will assign the points.

Thanks,
John
0
 
LVL 6

Expert Comment

by:kahlean
ID: 6214729
you are right, Windows default that some of the system file to be displayed with their extension like the dll file. Now here is a tweak which you can do it manually. Here how it works

1. Run regedit
2. From HKEY_CLASSES_ROOT, search for the desire extension key.For example dll. you will see a default string value called dllfile
3. Using this string value search further down from the HKEY_CLASS_ROOT for this string value.
4. Click the ddlfile key and you will see a string value called AlwaysShowExt. now remove this string.
5. Press F5 to restart. THe changes will take effect imeddiately.

BTW this will work on win95, win98 and win me as well

Regards.  
0
 
LVL 6

Accepted Solution

by:
kahlean earned 100 total points
ID: 6214740
i intent to propose the above as answer.
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 6215033
Good morning.

I've configured my primary Windows 98 SE system to show all files, hidden, etc.  Also configured to show all file extensions, quite the reverse of your goal, since I need all this information for all my testing and troubleshooting processes.  Nonetheless, checked most of my sys file extensions and some of my dlls.  All dlls are not hidden, most sys files are not hidden except those in the root directory that are, as examples:  iosys, msdos.

When I've reconfigured to hide all extensions, the same behavior you've experienced results.  Thus, I conclude that the behavior is required.  Personally, I modify my registry as little as possible because of the dynamic nature of my environment and have benefitted from the decision, but that's the beauty of end-user customization options.  I don't know if the registry Proposed Answer solution is what you want to explore, but would definitely recommend backing up the registry first prior to tweaking it.  

If I've misunderstood anything you've said, please advise.

Asta
0
 

Author Comment

by:jhcarver
ID: 6215333
That did it! Thanks kahlean.

Regards,
John
0
 
LVL 8

Expert Comment

by:Navid
ID: 6215493
Good job Kahlean! Very Good call my friend!!!!!!!!!!
This proves that a good comment can always be accepted as answer no matter what.
Thank you for posting a comment and not a proposed answer. Very well suggestion.
We all appreciate good comments instead of proposed answers.
Navid
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6215628
This was posted as a Proposed Answer, but did serve the client's needs.

Moondancer
Community Support Modertor @ Experts Exchange
0
 
LVL 6

Expert Comment

by:kahlean
ID: 6216531
thanks everyone for the compliment here
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 6218640
Great news, happy you've found the ideal solution.  Great input, kahlean.

":0)  Asta
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now