Changing File 'type description'

Jamdog

New member
Local time
11:24 PM
Messages
9
Location
Stourbridge, England
This may seem like an odd request, but it's something I can do in Windows 98, 2000 and XP, but have no idea how to do it in Windows 7.

When using Explorer, set to display 'details', there is a 'Type' column, which displays information like "File Folder" for subdirectories, "Text Document" for a .txt file or "Configuration Settings" for a .ini file.

I would like to know how to change these file type descriptions. I'm sure it's in the registry, but couldn't find it. Closest I got was HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentUser\Explorer\FileExts but it doesn't seem to be there.

In older versions of Windows, this could be changed in explorer preferences, which was moved to "Default Programs" in Control Panel, but I can't seem to change it there either.

If a file has no association, then the 'Open With...' screen will ask you to enter a file type description, but this disappears if the file has an association already.

I'm at a loss, and you great guys (and gals) on this forum have never let me down yet, so I'm hoping someone can point me to the right place.

All this is because I want to change "PHP File" to "PHP Script"... :rolleyes:
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate
CPU
Intel Core2 Duo
Motherboard
Gigabyte GA-P35-DS3L
Memory
8Gb Corsair XMS2 DDR2
Graphics Card(s)
NVidia GeForce GTX280
Sound Card
On-board
Monitor(s) Displays
Goldstar Generic CRT
Screen Resolution
1024x1280
Hard Drives
Disk 0: C: (Windows Drive, Internal SSD): 120Gb
Disk 1: F: (Seagate, External USB): 2Tb
Disk 2: J: (WD Elements, External USB): 1Tb
Disk 3: P: (WD My Book, External USB): 1Tb
PSU
Corsair CX750M (750W)
Case
Hewlett Packard
Mouse
Microsoft Bluetooth
Internet Speed
12Mbps
Antivirus
Kaspersky 15.0.2.361
Browser
Usually Chrome but also have Opera, IE, Tor, Nightly, Safari
Other Info
Originally a HP 'budget' PC, but only case is left - motherboard, PSU and Graphics card have all been updated since, and no original drives are left.
Hi. Type in assoc into the Start Search Box, And at the top of the menu you click on
Associate a file type or protocol with a specific program, hope that's what you are looking for.
 

My Computer

Computer Manufacturer/Model Number
Self Build 64bit
OS
Vista Ult64, Win7600
CPU
Intel Core 2 Quad Q6600 @ 2400 MHz 64bit OS
Motherboard
Asus P5E3 Deluxe WiFi @p 64 bit OS
Memory
4096 MB DDR3-SDRAM
Graphics Card(s)
ATI Radeon HD 3870 Series x2 Crossfired
Sound Card
Realtek on board
Monitor(s) Displays
Samsung SyncMaster - 23 inches
Screen Resolution
1680x1050 pixels at 60 Hz in True Colors
Hard Drives
Hitachi (250 GB)/Samsung 750 GB. /Barracuda 160 GB.
My Book 1 TB external..
PSU
Cooler Master 1000w
Case
Cooler Master Cosmos 1000.
Cooling
Fans and fresh air,
Keyboard
Wireless
Mouse
Wireless
Internet Speed
Never fast enough
Other Info
I use a Magnum.
Thanks for the suggestion jfar, but that doesn't do what I asked.

That particular screen just allows me to change the program associated with each file type, and when I click the 'Change Program' button, I'm simply presented with the same old 'Open with...' dialog. If an extension already has an association, then there is no option to set the file type description.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate
CPU
Intel Core2 Duo
Motherboard
Gigabyte GA-P35-DS3L
Memory
8Gb Corsair XMS2 DDR2
Graphics Card(s)
NVidia GeForce GTX280
Sound Card
On-board
Monitor(s) Displays
Goldstar Generic CRT
Screen Resolution
1024x1280
Hard Drives
Disk 0: C: (Windows Drive, Internal SSD): 120Gb
Disk 1: F: (Seagate, External USB): 2Tb
Disk 2: J: (WD Elements, External USB): 1Tb
Disk 3: P: (WD My Book, External USB): 1Tb
PSU
Corsair CX750M (750W)
Case
Hewlett Packard
Mouse
Microsoft Bluetooth
Internet Speed
12Mbps
Antivirus
Kaspersky 15.0.2.361
Browser
Usually Chrome but also have Opera, IE, Tor, Nightly, Safari
Other Info
Originally a HP 'budget' PC, but only case is left - motherboard, PSU and Graphics card have all been updated since, and no original drives are left.
I've had another look at this, and it seems that in the registry, this appears to be partly done in HKEY_CLASSES_ROOT, where if I select an extension within there, it has a (Default) key.

This (Default) key varies in it's usage though.

For some files, it simply has the file type description, although there aren't many of these.

For others, it has an association, for example:
HKCR/.mp3/(Default) = WMP11.AssocFile.MP3
HKCR/.bmp/(Default) = Fireworks.bmp
HKCR/.xls/(Default) = OpenOffice.org.Xls
HKCR/.swf/(Default) = ShockwaveFlash.ShockwaveFlash

And some others have neither (generally where the file type description is "xxx File")
HKCR/.bat/(Default) = batfile
HKCR/.txt/(Default) = txtfile
HKCR/.php/(Default) = php_auto_file

For these 3rd group, there is another entry in HKCR that matches the key value, and these also have their own (Default) key:
HKCR/batfile/(Default) = Windows Batch File
HKCR/txtfile/(Default) = Text Document
HKCR/php_auto_file/(Default) = PHP Script

What I don't understand is that of the 3 directly above, .bat and .txt files show the key value text as the file type description in Windows Explorer, but .php files show the file type as "PHP File", even though the key value above is "PHP Script".

Am I just looking in the wrong place? Or is there something else going on?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate
CPU
Intel Core2 Duo
Motherboard
Gigabyte GA-P35-DS3L
Memory
8Gb Corsair XMS2 DDR2
Graphics Card(s)
NVidia GeForce GTX280
Sound Card
On-board
Monitor(s) Displays
Goldstar Generic CRT
Screen Resolution
1024x1280
Hard Drives
Disk 0: C: (Windows Drive, Internal SSD): 120Gb
Disk 1: F: (Seagate, External USB): 2Tb
Disk 2: J: (WD Elements, External USB): 1Tb
Disk 3: P: (WD My Book, External USB): 1Tb
PSU
Corsair CX750M (750W)
Case
Hewlett Packard
Mouse
Microsoft Bluetooth
Internet Speed
12Mbps
Antivirus
Kaspersky 15.0.2.361
Browser
Usually Chrome but also have Opera, IE, Tor, Nightly, Safari
Other Info
Originally a HP 'budget' PC, but only case is left - motherboard, PSU and Graphics card have all been updated since, and no original drives are left.
In Seven x64, keys found under this key may override HKCR keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID
 

My Computer

OS
XP SP3 32bit, Vista HP 64bit, Seven Pro 64bit
CPU
Q6600 G0 @ 3.2GHz
Motherboard
GA-P965-DS3
Memory
4Gb OCZ
Graphics Card(s)
nVidia GTX275 896Mb
Sound Card
X-Fi Fatal1ty Platinum
Monitor(s) Displays
Acer H243H
Screen Resolution
1920x1080
Hard Drives
Samsung 1Tb SATA2
MAXTOR 1Tb SATA2
MAXTOR 500Gb SATA2
MAXTOR 300Gb SATA2
PSU
Antec 650 Trio
Cooling
Zalman 9700
Keyboard
G15,G13
Mouse
MX518
Internet Speed
330Kbps down
Back
Top