How to enable view full file extension on certain files.

Sometimes it proves useful to know the extension of a file, like if we have a folder with many types of files and we want to know a particular file which may have same icon as of other files. If we have enabled the extension view it would help us in that and Windows have an option for that where you can set to unhide extension view which by default is in hidden mode. You can do this by selecting folder option view tab and unchecking the “Hide Extension of Known file…

But this option shows all the file extension which you may not want, in this tutorial I will explain how you can enable extension view for only particular file with help of simple registry tweak.

  1. Open RUN box by pressing Windows Key + R button on keyboard.
  2. Type regedit on the RUN box and click OK.
  3. Navigate to HKEY_CLASSES_ROOT.
  4. You can see list of file extensions inside your pc.
  5. Here in this example I will show how to enable extension view for notepad (text file) which is having an extension .txt.
  6. Navigate to .txt file folder in the left pane and click on it.
  7. On the right side pane right click and then select -> New –> String Value. Name the new value AlwaysShowExt.                                                                                       
  8. Once you have done that restart your pc.

Now even if you hide the extension view, the extension of notepad (text file) will be viewable.

You can revoke back this by following the same step as above and then deleting the created key.

Hope this helped, do comment.  🙂


Subscribe To Get FREE Tutorials!

SK is the Founder of Techdunes. Loves blogging on Technology. Follow him on Twitter at @funmansk. Contact him at : admin(at)


Comments are closed.