I'm trying to add PHP and HTML files' entries to the right-click on Desktop -> New menu. It says the values were successfully added to registry but still they don't show up in the menu.



This is the guide I've tried: http://www.sevenforums.com/tutorials/22001-new-context-menu-edit-desktop.html

I have UAC disabled if that makes any difference.


Here is the reg file for adding shell new entry for .php & .html

Windows Registry Editor Version 5.00
"Content Type"="text/plain"


@="PHP Script File"




@="notepad %1"


Now create a htmlfile.html file in your Windows\ShellNew folder and enter default html :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>Title Goes Here</title>


According to the comments on this page, the option isn't supported by some file types, including PHP

Also, have you made sure you restarted your computer?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.