How To Add New File Type in "Right Click> New"

The steps below show you how to create a new PHP file using "Right Click" then selecting "new". You may use it for any file type by changing 'php' to your file type in step two

  1. Create a file named "addFileType.reg"
  2. in that file paste the following code

    Windows Registry Editor Version 5.00









    @ = "PHP File"

    "FriendlyTypeName"="@='PHP File'"

  3. Run this file as admin
  4. Refresh and you will see your file type when you right click on desktop or any folder and move your mouse to "New".

Once this is done, simply associate .php files with your favorite editor. 

Scroll to Top