Right Click -> New

Fuzzi0n

New member
Local time
9:07 AM
Messages
54
I Couldn't Find A Tutorial For This

I want to a .php to this menu, I've tried several things that have failed, oh and I'm using Windows 7 RC.
 

My Computer My Computer

At a glance

Windows 7 Ultimate / Ubuntu 10.04E5300 @ 3.24GhzCorsair 4GB DDR2 800MhzEVGA 9800GT
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate / Ubuntu 10.04
CPU
E5300 @ 3.24Ghz
Motherboard
P5QPL-AM
Memory
Corsair 4GB DDR2 800Mhz
Graphics Card(s)
EVGA 9800GT
Monitor(s) Displays
2x 19"
Hard Drives
500GB W.D
60GB OCZ SSD
PSU
Corsair CX400
Internet Speed
8.2 / 0.5

My Computer My Computer

At a glance

Vista Ult 64 bit Seven Ult RTM x64Intel Core2 Quad Q6600 2.40 gigahertzCrucial Ballistix 4x2GB PC2 6400NVIDIA GeForce 8600 GTS 256 MB
Computer Manufacturer/Model Number
Dell XPS420
OS
Vista Ult 64 bit Seven Ult RTM x64
CPU
Intel Core2 Quad Q6600 2.40 gigahertz
Memory
Crucial Ballistix 4x2GB PC2 6400
Graphics Card(s)
NVIDIA GeForce 8600 GTS 256 MB
Sound Card
Creative SB X-Fi audio
Monitor(s) Displays
HP w2207 + HPvs15
Screen Resolution
1680x1050 + 1024x768
Hard Drives
2-WD5000AAKS-500 GB
WD5000AAV-500 GB external
Keyboard
Microsoft Comfort Curve
Mouse
MX Revolution
Other Info
Wacom Intuos 2 Graphics Tablet
Experience Index=5.5
Thanks, that works for .bat and I tried it on .html it worked. But for some reason it won't work with .php. Ideas?
 

My Computer My Computer

At a glance

Windows 7 Ultimate / Ubuntu 10.04E5300 @ 3.24GhzCorsair 4GB DDR2 800MhzEVGA 9800GT
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate / Ubuntu 10.04
CPU
E5300 @ 3.24Ghz
Motherboard
P5QPL-AM
Memory
Corsair 4GB DDR2 800Mhz
Graphics Card(s)
EVGA 9800GT
Monitor(s) Displays
2x 19"
Hard Drives
500GB W.D
60GB OCZ SSD
PSU
Corsair CX400
Internet Speed
8.2 / 0.5
Sorry, I haven't come up with anything. Maybe someone else has a thought.
 

My Computer My Computer

At a glance

Vista Ult 64 bit Seven Ult RTM x64Intel Core2 Quad Q6600 2.40 gigahertzCrucial Ballistix 4x2GB PC2 6400NVIDIA GeForce 8600 GTS 256 MB
Computer Manufacturer/Model Number
Dell XPS420
OS
Vista Ult 64 bit Seven Ult RTM x64
CPU
Intel Core2 Quad Q6600 2.40 gigahertz
Memory
Crucial Ballistix 4x2GB PC2 6400
Graphics Card(s)
NVIDIA GeForce 8600 GTS 256 MB
Sound Card
Creative SB X-Fi audio
Monitor(s) Displays
HP w2207 + HPvs15
Screen Resolution
1680x1050 + 1024x768
Hard Drives
2-WD5000AAKS-500 GB
WD5000AAV-500 GB external
Keyboard
Microsoft Comfort Curve
Mouse
MX Revolution
Other Info
Wacom Intuos 2 Graphics Tablet
Experience Index=5.5
It's ok, but as a web developer this is extremely inconvenient.
 

My Computer My Computer

At a glance

Windows 7 Ultimate / Ubuntu 10.04E5300 @ 3.24GhzCorsair 4GB DDR2 800MhzEVGA 9800GT
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate / Ubuntu 10.04
CPU
E5300 @ 3.24Ghz
Motherboard
P5QPL-AM
Memory
Corsair 4GB DDR2 800Mhz
Graphics Card(s)
EVGA 9800GT
Monitor(s) Displays
2x 19"
Hard Drives
500GB W.D
60GB OCZ SSD
PSU
Corsair CX400
Internet Speed
8.2 / 0.5
Did you create the .php key, or did you try using the existing .php3 key?
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1Core i7-2670QM8GB DDR3 PC3-10600Intel HD Graphics 3000 + GeForce GT 540M
Computer Manufacturer/Model Number
Dell XPS 15 L502x
OS
Windows 7 Ultimate x64 SP1
CPU
Core i7-2670QM
Memory
8GB DDR3 PC3-10600
Graphics Card(s)
Intel HD Graphics 3000 + GeForce GT 540M
Screen Resolution
1920x1080
Hard Drives
1TB 5400RPM Seagate
.php was there, I'll try it on .php3.
 

My Computer My Computer

At a glance

Windows 7 Ultimate / Ubuntu 10.04E5300 @ 3.24GhzCorsair 4GB DDR2 800MhzEVGA 9800GT
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate / Ubuntu 10.04
CPU
E5300 @ 3.24Ghz
Motherboard
P5QPL-AM
Memory
Corsair 4GB DDR2 800Mhz
Graphics Card(s)
EVGA 9800GT
Monitor(s) Displays
2x 19"
Hard Drives
500GB W.D
60GB OCZ SSD
PSU
Corsair CX400
Internet Speed
8.2 / 0.5
Same results with .php3 doesn't appear in the menu.
 

My Computer My Computer

At a glance

Windows 7 Ultimate / Ubuntu 10.04E5300 @ 3.24GhzCorsair 4GB DDR2 800MhzEVGA 9800GT
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate / Ubuntu 10.04
CPU
E5300 @ 3.24Ghz
Motherboard
P5QPL-AM
Memory
Corsair 4GB DDR2 800Mhz
Graphics Card(s)
EVGA 9800GT
Monitor(s) Displays
2x 19"
Hard Drives
500GB W.D
60GB OCZ SSD
PSU
Corsair CX400
Internet Speed
8.2 / 0.5
I still haven't had any luck :(
 

My Computer My Computer

At a glance

Windows 7 Ultimate / Ubuntu 10.04E5300 @ 3.24GhzCorsair 4GB DDR2 800MhzEVGA 9800GT
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate / Ubuntu 10.04
CPU
E5300 @ 3.24Ghz
Motherboard
P5QPL-AM
Memory
Corsair 4GB DDR2 800Mhz
Graphics Card(s)
EVGA 9800GT
Monitor(s) Displays
2x 19"
Hard Drives
500GB W.D
60GB OCZ SSD
PSU
Corsair CX400
Internet Speed
8.2 / 0.5
Wow, no help or what...
 

My Computer My Computer

At a glance

Windows 7 Ultimate / Ubuntu 10.04E5300 @ 3.24GhzCorsair 4GB DDR2 800MhzEVGA 9800GT
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate / Ubuntu 10.04
CPU
E5300 @ 3.24Ghz
Motherboard
P5QPL-AM
Memory
Corsair 4GB DDR2 800Mhz
Graphics Card(s)
EVGA 9800GT
Monitor(s) Displays
2x 19"
Hard Drives
500GB W.D
60GB OCZ SSD
PSU
Corsair CX400
Internet Speed
8.2 / 0.5
Do you have a default application for php files?
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1Core i7-2670QM8GB DDR3 PC3-10600Intel HD Graphics 3000 + GeForce GT 540M
Computer Manufacturer/Model Number
Dell XPS 15 L502x
OS
Windows 7 Ultimate x64 SP1
CPU
Core i7-2670QM
Memory
8GB DDR3 PC3-10600
Graphics Card(s)
Intel HD Graphics 3000 + GeForce GT 540M
Screen Resolution
1920x1080
Hard Drives
1TB 5400RPM Seagate
Yeah, Notepad ++.
 

My Computer My Computer

At a glance

Windows 7 Ultimate / Ubuntu 10.04E5300 @ 3.24GhzCorsair 4GB DDR2 800MhzEVGA 9800GT
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate / Ubuntu 10.04
CPU
E5300 @ 3.24Ghz
Motherboard
P5QPL-AM
Memory
Corsair 4GB DDR2 800Mhz
Graphics Card(s)
EVGA 9800GT
Monitor(s) Displays
2x 19"
Hard Drives
500GB W.D
60GB OCZ SSD
PSU
Corsair CX400
Internet Speed
8.2 / 0.5
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.
 

Attachments

  • tut1.JPG
    tut1.JPG
    13.7 KB · Views: 11
  • tut2.JPG
    tut2.JPG
    14.2 KB · Views: 10
  • tut3.JPG
    tut3.JPG
    16.1 KB · Views: 10
Last edited by a moderator:

My Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1Core i7-2670QM8GB DDR3 PC3-10600Intel HD Graphics 3000 + GeForce GT 540M
Computer Manufacturer/Model Number
Dell XPS 15 L502x
OS
Windows 7 Ultimate x64 SP1
CPU
Core i7-2670QM
Memory
8GB DDR3 PC3-10600
Graphics Card(s)
Intel HD Graphics 3000 + GeForce GT 540M
Screen Resolution
1920x1080
Hard Drives
1TB 5400RPM Seagate
Wow, thanks alot! +Rep
 

My Computer My Computer

At a glance

Windows 7 Ultimate / Ubuntu 10.04E5300 @ 3.24GhzCorsair 4GB DDR2 800MhzEVGA 9800GT
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate / Ubuntu 10.04
CPU
E5300 @ 3.24Ghz
Motherboard
P5QPL-AM
Memory
Corsair 4GB DDR2 800Mhz
Graphics Card(s)
EVGA 9800GT
Monitor(s) Displays
2x 19"
Hard Drives
500GB W.D
60GB OCZ SSD
PSU
Corsair CX400
Internet Speed
8.2 / 0.5
Let me know if it worked for you.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1Core i7-2670QM8GB DDR3 PC3-10600Intel HD Graphics 3000 + GeForce GT 540M
Computer Manufacturer/Model Number
Dell XPS 15 L502x
OS
Windows 7 Ultimate x64 SP1
CPU
Core i7-2670QM
Memory
8GB DDR3 PC3-10600
Graphics Card(s)
Intel HD Graphics 3000 + GeForce GT 540M
Screen Resolution
1920x1080
Hard Drives
1TB 5400RPM Seagate
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 Computer My Computer

At a glance

Windows 7 Ultimate / Ubuntu 10.04E5300 @ 3.24GhzCorsair 4GB DDR2 800MhzEVGA 9800GT
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate / Ubuntu 10.04
CPU
E5300 @ 3.24Ghz
Motherboard
P5QPL-AM
Memory
Corsair 4GB DDR2 800Mhz
Graphics Card(s)
EVGA 9800GT
Monitor(s) Displays
2x 19"
Hard Drives
500GB W.D
60GB OCZ SSD
PSU
Corsair CX400
Internet Speed
8.2 / 0.5
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 Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1Core i7-2670QM8GB DDR3 PC3-10600Intel HD Graphics 3000 + GeForce GT 540M
Computer Manufacturer/Model Number
Dell XPS 15 L502x
OS
Windows 7 Ultimate x64 SP1
CPU
Core i7-2670QM
Memory
8GB DDR3 PC3-10600
Graphics Card(s)
Intel HD Graphics 3000 + GeForce GT 540M
Screen Resolution
1920x1080
Hard Drives
1TB 5400RPM Seagate
Back
Top