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 Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial - File Name Extension

Comment
 
LinkBack Tutorial Tools Display Modes
<!-- google_ad_section_start -->File Name Extension<!-- google_ad_section_end -->
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: 14491
Size:  2.8 KB
3. Press the right arrow key once. (See screenshot below)
Name:  Right_Arrow_Key.jpg
Views: 14436
Size:  2.8 KB
4. Press the Delete key until the file name extension is deleted. (See screenshow below)
Name:  Delete_Key.jpg
Views: 14443
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: 14456
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: 14388
Size:  3.3 KB
That's it,
Shawn
Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 23,772
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
Show Printable Version Show Printable Version
Email this Page Email this Page

Applies to
All Vista Versions
64 Bit & 32 Bit

Page copy protected against web site content infringement by Copyscape

Old 09-05-2008  
Dwarf's Avatar
Dwarf
The Contemplator




Join Date: Mar 2008
Vista Home Premium 32-bit & Vista Ultimate 64-bit both Service Pack 2 W7 Ultimate RC 7229 32 & 64
Doncaster, UK
 
Rep Power: 115
Dwarf has a reputation beyond reputeDwarf has a reputation beyond reputeDwarf has a reputation beyond reputeDwarf has a reputation beyond reputeDwarf has a reputation beyond reputeDwarf has a reputation beyond reputeDwarf has a reputation beyond reputeDwarf has a reputation beyond reputeDwarf has a reputation beyond reputeDwarf has a reputation beyond reputeDwarf has a reputation beyond repute
  Dwarf is offline

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:	4684
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's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is offline

Re: File Name Extension

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

Shawn
My System SpecsSystem Spec
Comment

Tags
extension, file & folder settings, name

Tutorial Tools
Display Modes


Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
File Extension freddy VB Script 2 08-28-2008 09:17 AM
.wri file extension Darlene Vista General 4 02-04-2008 11:49 AM
File extension HL Vista General 2 02-01-2008 05:04 PM
.pps file extension Whippet Vista General 2 07-27-2007 05:12 PM
How do you change file name extension in File/Dir Explorer? maruk2@hotmail.com Vista General 5 02-17-2007 07:18 PM


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