Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Changing File 'type description'

18 Feb 2010   #1

Windows 7 Ultimate
Changing File 'type description'

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"...

My System SpecsSystem Spec
18 Feb 2010   #2

Vista Ult64, Win7600

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 System SpecsSystem Spec
18 Feb 2010   #3

Windows 7 Ultimate

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 System SpecsSystem Spec

19 Feb 2010   #4

Windows 7 Ultimate

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) =
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 System SpecsSystem Spec
19 Feb 2010   #5

XP SP3 32bit, Vista HP 64bit, Seven Pro 64bit

In Seven x64, keys found under this key may override HKCR keys:

My System SpecsSystem Spec

 Changing File 'type description'

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
Changing .exe File Type Icons In File Explorer But Nowhere Else
Hello Everyone, I have kind of an odd question, I have been looking into changing file type icons when I came across an interesting conflict. I would like to be able to change the file type icon for all .exe files to the same file type icon within a file explorer. If you were to try to do...
Changing account type - changing GUI and desktop customizations, too?
I originally made one account with admin rights on my PC in June. I added a standard account for my dad last week, but the only way I could customize the desktop and theme for him with larger fonts, non-Aero theme, fewer desktop icons, etc was to make his account an admin account also. Otherwise...
General Discussion
Wuestion about music file description
Hello All, I have a question, is it possible to have more than one Music Genres in this tab of the music file description? Because Every Time I try to write more than one genre windows removes the others and leave only the first...
Music, Pictures & Video
How to easily change the "Type" description of file types in Explorer
G'day everyone After doing some Googling I discovered that it is impossible in Windows 7 to sort files by file extension -- one can only sort by file type, which depends on the file type description. This means that if I want to sort by file type, I need to rename the type descriptions of all...
General Discussion
Changing *.exe file I created to non-exe type
I've created a slideshow file, using FastStone Image Viewer 4.3, and pictures I took myself in our back yard. The file is *.exe and self-executes correctly on my computer. I've scanned it with MSE and it's clean and virus-free. I want to send it to our daughter, using my Hotmail account, as a...
General Discussion
Change File Description
Hi im wondering if there's a way that i could change the description of a file for example from "zoom player file" to "MPEG4 Video" theres a program that i used one time called Creative Element Power Tools but its not free and ive already used the trial, so if anyone could tell me if theres a...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 22:14.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App