Jump to content

Rename "New Text Document"


BlueMe

Recommended Posts


after a quick F3 in regedit

HKLM\SOFTWARE\CLASSES\txtfile

edit the (Default) value from 'Text Document' to whatever you like :)

if you change it to '123' it'll come out as New 123.txt

Edited by bledd
Link to comment
Share on other sites

To expound on the above, you can mine the registry for any file type, by it's extension.

So let's say you want to change the file type name of "Windows NT Command Script" to "NT Command Script".

First, look for the file extension in HKEY_CLASSES_ROOT\.ext. Where .ext equals the file extension that you are looking for. In this case we are looking for.cmd, so we go to HKEY_CLASSES_ROOT\.cmd.

Now we look at the default value for this key and see that it is cmdfile. This is the name of another key that we must look up, again inside of HKEY_CLASSES_ROOT. So now go to HKEY_CLASSES_ROOT\cmdfile. The default value of this key is the File Type Name that appears in Windows Explorer. So edit it from "Windows NT Command" to "NT Command". You most likely will have to reboot for the change to take effect.

EDIT 2005-10-03:

See this thread to Add New Document Type to The Context Menu

EDIT 2005-10-03:

Edited by DarkShadows
Link to comment
Share on other sites

Thanks for the help guys ! It was actually a string value ("FriendlyTypeName") that i had to edit ...

In the end will look like this :

[HKEY_CLASSES_ROOT\batfile]

"FriendlyTypeName"="BatFile"

[HKEY_CLASSES_ROOT\regfile]

"FriendlyTypeName"="RegFile"

[HKEY_CLASSES_ROOT\txtfile]

"FriendlyTypeName"="TxtFile"

[HKEY_CLASSES_ROOT\VBSFile]

"FriendlyTypeName"="VbsScript"

Looks better now :

Image0002.jpg

And 10x again :thumbup

Edited by BlueMe
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...