Sep 11, 2008


This registry setting allows you to add a new file extension and file type that is currently not not available in your windows system, and adds inside your right click 'New' context menu .

Many time we needs a file to store our personal data, notes, reminders, appointments etc.. n which wants to identify easily in our system files..

By using this setting you can make your own file type n extension for your daily use :)

Settings:
(Dont use single or double quotes in complete setting)
1] Start > Run > regedit> hit Enter
2] Select HKEY_CLASSES_ROOT key..
3] Right Click> New > Key (add New key at HKEY_CLASSES_ROOT)
4] Write your file extension like '.note' ( or any other which you want, but use dot "." before extension, i used .note )
5] on right side pane double click on (Default) to modify '(Default)' value to file write as 'notefile'
(Do not use any spaces between file type value, you can use any other value too like myfile, mynotes so on..)
You just added file extension, now you need to set data for your file type..
6] Now go back to HKEY_CLASSES_ROOT key..
7] Create New Key by right click
8] write 'notefile' as key name ( we used 'notefile' is file type for our extension, which is same as where we set step 5, if you used any other file type write this same value as your key name)
9] On right side pane, double click on '(Default)' n set description for your file Like 'My note file'
( here you can use spaces)
10] then right click in blank space at right side pane n add new DWORD value, write 'BrowserFlags' as name, double click on BrowserFlags to modify n set Hexadecimal value '8' (Eight)
11] add another new DWORD value, name it 'EditFlags' n set Hexadecimal value '0' (Zero)
12] Select 'notefile' > add new Key > write key name - 'DefaultIcon'
13] on right side pane double click on '(Default)' n write path of your icon file for your extension
like 'C:\WINDOWS\myicon.ico'
14] Select notefile key, add new Key n name it 'shell'
15] Select shell Key, add new Key n name it 'Open'
16] Select Open key, add new key n name it 'command'
now you are here- 'HKEY_CLASSES_ROOT\notefile\shell\Open\command', ok?
17] Now on right side pane select '(Default)', double click to modify, n now right the path of application for your file type, like 'C:\WINDOWS\notepad.exe %1'
18] Now we want to add our file type inside right click New menu so go back at '.note' key
19] select '.note' key, add new Key n name it 'ShellNew'
20] On right side pane, right click in blank space n add new String value, name it 'NullFile'
(Dont set any value for this Nullfile, leave blank)
See image

[Or Download this registry file for setting, n change the icon path in reg file, rename this file as 'filetype.reg' by removing .txt of file, and merge it)

6 comments:

Anonymous said...

Any links or suggestions where i can learn how to create my own file type?... this article is about editing registry after you've already created a file type of ur own... can you show me the link where i can learn how to create that user defined file type ?

Anonymous said...

hi frnd,

check this link -
http://delltech.150m.com/XP/installing/3.htm
(Creating a New Association)

Anonymous said...

Hi, thanks for the reply, but i think my question is a little beyond the scope of the above link.

My main concern is to create a file type of my own. Created an application of my own. Eg. .rm for realplayer only, or .rar for winzip only.

i wanted to create filetype of my own, eg. .myown which cannot be OPENED by any other default Windows app, except my own application. Programming language is C#.

thanks

Mr.Appleseed said...

Anonymous i think your talking about this
http://www.c-sharpcorner.com/UploadFile/scottlysle/CustomFileType12082006000848AM/CustomFileType.aspx

Anonymous said...

Thanks for this great little registry edit. I have always been annoyed by the "Send To" tab holding the focus while I am waiting at "properties". Made myself a little .reg to quickly re-enable/disable it in the event I want to use it again.

Thanks. Eric :-)

FlashFortitude said...

Thanks for the help. I could have a lot of fun with this!

Can you say, "April Fools?"