Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Right Click -> New

29 Oct 2009   #11
kegobeer

Windows 7 Ultimate x64 SP1
 
 

Do you have a default application for php files?


My System SpecsSystem Spec
.
29 Oct 2009   #12
Fuzzi0n

Windows 7 Ultimate / Ubuntu 10.04
 
 

Yeah, Notepad ++.
My System SpecsSystem Spec
29 Oct 2009   #13
kegobeer

Windows 7 Ultimate x64 SP1
 
 

I think the problem is that .php isn't "known" to windows, so it won't display a php file in the context menu. There must be another registry key somewhere that is required to "teach" windows about php, but I haven't found it yet. Think about it - there has to be another key that says "PHP Document", otherwise how would Windows be able to add it to a context menu?

Got it! It took a bit of figuring, but here's what you need to do:

1. Right click on HKEY_CLASSES_ROOT and select New->Key. Call it php3file.
2. In your newly created key, double click on (Default) and enter PHP File.
3. Right click and select New-> Expandable String Value. Enter @="PHP File"
4. Go to the .php3 key.
5. Double click on (Default) and enter php3file.

You'll also have to create the ShellNew key and the NullFile string value as outlined in the other tutorial. Make the changes, then log off and log on. You should now have a PHP context menu entry.

This is for the php3 key - you can make a php key and do the same sort of thing.


Attached Images
Right Click -> New-tut1.jpg Right Click -> New-tut2.jpg Right Click -> New-tut3.jpg 
My System SpecsSystem Spec
.

29 Oct 2009   #14
Fuzzi0n

Windows 7 Ultimate / Ubuntu 10.04
 
 

Wow, thanks alot! +Rep
My System SpecsSystem Spec
29 Oct 2009   #15
kegobeer

Windows 7 Ultimate x64 SP1
 
 

Let me know if it worked for you.
My System SpecsSystem Spec
29 Oct 2009   #16
Fuzzi0n

Windows 7 Ultimate / Ubuntu 10.04
 
 

Yeah it did, for .php3 and .php.

Oh btw, hope you don't Mind I was going to add this as a tutorial, giving you the founding credits.
My System SpecsSystem Spec
29 Oct 2009   #17
kegobeer

Windows 7 Ultimate x64 SP1
 
 

I don't mind. All I did was search the registry for some phrases and compare existing keys until I figured out what needed to be done. I think it's great that you're doing a tutorial - it will hopefully help others.

I think I'll drop Brink a message and see if he'll add this to his tutorial as well.
My System SpecsSystem Spec
Reply

 Right Click -> New




Thread Tools




Similar help and support threads
Thread Forum
Single-Click or Double-Click to Open an Item
How to Open Items with a Single-Click or Double-Click in Windows 7 and Windows 8 This tutorial will show you how to open files and folders with either a single click or double click in Windows 7 and Windows 8. Select the Single-click option to open files and folders with a single left click...
Tutorials
Mouse double clicks when I click once and click when I hold it.
What I mean is that let's say I am trying to hold and drag a desktop file it will sometimes just click, making me drop the file on the spot. It will also double click when I try to make a single click. I tried to lower the settings for double click timing on the settings menu. EDIT: Tried out...
Hardware & Devices
How do I change single click to double click to open emails?
WLM opens emails with a single click rather than just selecting the email. The boxes selecting double click to open are checked. This box is in the folders section and may be for folders ouyside of WLM. I want single click to select and double click to open emails. TIA
Browsers & Mail
Laptop keyboard mouse:right click and left click functions reversal
Hi, I am after some help. My laptop has decided to reverse the right click and left click functions, ie: if I left click it now does not select but instead brings up a menu (which the right click button should and used to do!) I've tried holding down both buttons (as suggested by a friend) by this...
Hardware & Devices
Left click brings up right click context menu on desktop
For the last few weeks whenever I left click on the desktop it brings the right click menu. This dosen't happen in the browser (firefox), but only in the windows desktop and start menu. However i the browser if I am on a web player like youtube, the portion that displays the video fails to display...
General Discussion
Disable auto-click but enable just one click for folder
Hello, I actually have in forder options "Single-click to open an item (point to select). I really like it because I can open folders with just one click but I don't like (point to select). I like one click to select a file and double clik for open it. ¿There is any way that enables one click for...
Hardware & Devices


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 09:45.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App