Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - File Name Extension

Comment
 

File Name Extension

How to Show and Change a File Name Extension in Vista
Published by Brink
10-31-2007

How to Show and Change a File Name Extension in Vista
Information
  A file name extension is a set of characters added to the end of a file name that identifies the file type or format which determines what program should open it. This will show you how to Hide or Show and Change file extensions in Vista.
NOTE
  This will not work for the .lnk shortcut file extension since you cannot see it by default. For how to see this file extension, see: File Name Extension
RELATED LINKS:

STEP ONE:
How to Show or Hide File Name Extensions
1. Open Folder Options.

2. To Show File Name Extensions -
A) Uncheck Hide extensions for known file types. (See screenshot below step 4)

B) Go to step 4.
3. To Hide File Name Extensions -
A) Check Hide extensions for known file types.
4. Click on OK.
hide_extensions.jpg

STEP TWO:
How to Change a File Name Extension
1. Make sure you have Folder Options set to show file name extensions. (See step 2 in STEP ONE above)

2. Right click on the file and click on Rename. (See screenshot below)
Name:  Rename1.jpg
Views: 22019
Size:  2.8 KB
3. Press the right arrow key once. (See screenshot below)
Name:  Right_Arrow_Key.jpg
Views: 21959
Size:  2.8 KB
4. Press the Delete key until the file name extension is deleted. (See screenshow below)
Name:  Delete_Key.jpg
Views: 21967
Size:  2.6 KB
5. Type in the new file name extension you want to use and press Enter. (See screenshot below)
NOTE: I used the BAT extension as example here for batch files.
Name:  Change.jpg
Views: 21996
Size:  2.7 KB
6. Click on Yes to change the file name extension. (See screenshot below)
confirmation.jpg
7. Notice that the icon has changed to match the file name extension. (See screenshot below)
Name:  Renamed.jpg
Views: 21891
Size:  3.3 KB
That's it,
Shawn

Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,919
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 09-05-2008  
Dwarf


Vista Home Premium 32-bit & Vista Ultimate 64-bit both Service Pack 2 W7 Pro RTM 7600 32 & 64
 
 

Re: File Name Extension

If you wish to show the '.lnk' extension for shortcuts, then the above method will not work. To do this, you need to edit the registry. Click on the start orb and type 'regedit' into the search box. Right click on the program, select 'Run as administrator' and provide administrative credentials. When the registry editor opens, browse to the following key:'HKEY_CLASSES_ROOT\lnkfile' (see image below).
capture.jpg
You will see an entry 'NeverShowExt'. Right click on this entry and select 'Delete'.
capture1.jpg
Click 'Yes' to confirm that you wish to delete this value.
capture2.jpg
The registry at this location will now look like the image below.
capture3.jpg
Close the registry editor. You will need to restart your system for changes to take effect.

To hide this extension again, open the registry editor and browse to the same key as above. In the right hand panel, right click on a blank space and select 'New' and then 'String Value'.
capture4.jpg
capture5.jpg
Give this value the name you had previously deleted, i.e 'NeverShowExt' and press enter/return. The registry at this location will once again look like the following image.
Click image for larger version

Name:	Capture.JPG
Views:	4709
Size:	40.0 KB
ID:	6307
Close the registry editor. You will need to restart your system for changes to take effect.

My System SpecsSystem Spec
Old 09-05-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: File Name Extension

Thank you Dwarf. It has been link in the tutorial for this.

Shawn
My System SpecsSystem Spec
Comment

Tutorial Tools


Similar Threads
Tutorial Category
File Extension Software
File extension Vista General
.pps file extension Vista General
How do you change file name extension in File/Dir Explorer? Vista General
File Extension PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46