Microsoft has added a feature on the File Explorer Options or Folder Options ribbon and a Windows mini window, allowing the user to enable or disable the file extensions’ visibility in the File Explorer. However, some users enable it to be used for a few minutes and then hide the extensions of the files. Following the Folder Options path often takes longer and is tedious. So, the best resort would be to have that option toggled from the right-click context menu. These File extensions vary from the type of file that a user is trying to run.
If you add ‘File name extensions’ item to the Windows 11/10 context menu, then you will be able to show or hide file extensions with a single click! It is useful if you need to enable the option temporarily.
Add File name extensions to Context Menu
To add the ‘File name extensions’ option in the context menu on Windows, the user has to make use of the Windows 10 Registry Editor. The context menus covered in this step are the ones on the Desktop, File, Folder, and the folder background.
This is a pretty straightforward method to follow.
Download this Registry file, double-click on the file, and give your approval to add the Registry entries.
If you still do not see the option, just reboot your computer for it to appear.
Remove File Name extensions option to the context menu
For this, open the Windows Registry Editor and navigate to the following paths:
HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\Windows.ShowFileExtensions
HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.ShowFileExtensions
Delete both of these folders.
Reboot your computer and the option will go away.
I hope you find this useful.
Read: Add new file type in New Item of Explorer Ribbon Menu.