Menu

How do you make your own file extension n file type?

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)



No comments:

Post a Comment