Can I just create a new .py, .java file the same way I create a new .php, .inc file

using windows7

http://www.experts-exchange.com/Programming/Languages/Scripting/PHP/Q_28417626.html
Previous question I can now use mouse right click to create both new .inc and .php file

using this tutorial
http://www.askvg.com/how-to-add-remove-items-from-new-menu-in-windows/

but when I try with
.java
.py

and restart
no menu item

Is there another step?
LVL 1
rgb192Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rgb192Author Commented:
shell new handler exe
.java and .py have no description (second column) but .php and .inc have description

.java and .py have no description (second column)
0
Mark BradyPrincipal Data EngineerCommented:
I would assume there is another part of the registry key you need to add in order to create a description but I'm not sure.
0
rgb192Author Commented:
I followed the same instructions for
.php
.inc
.py
.java

but only the first two have a description.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Mark BradyPrincipal Data EngineerCommented:
Well where did you put the description for the first tow?
0
rgb192Author Commented:
I didnt add description.
0
rgb192Author Commented:
How can I add description.

And will this be the answer?
0
Mark BradyPrincipal Data EngineerCommented:
Ok well it seems that Windows probably has a default description for each filetype so if you are adding a filetype that it does not recognize then it will not know what to add for the description. I suggest having a moderator move this question into Windows under operating systems or somewhere that some smart windows people can answer this question.
0
rgb192Author Commented:
I created a new description for ShellNew key for .bat
description is Windows Batch File
and
I can open by using right click
0
Gerwin Jansen, EE MVETopic Advisor Commented:
Do  you have any applications installed on your system that handle .java and .py files? The regkey or ShellNewHandler create will only work if you have an application that will handle your .java / .py file.

For example: I have the Enthought Python distribution installed but I don't have a New->Python File menu item.

After I've created the add_py.reg below and imported it (and rebooted), I have a Python File item in the menu.
new Python FileTo add:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.py\ShellNew]
"NullFile"=""

Open in new window


To remove:
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.py\ShellNew]
"NullFile"=""

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rgb192Author Commented:
Do  you have any applications installed on your system that handle .java and .py files? The regkey or ShellNewHandler create will only work if you have an application that will handle your .java / .py file.

Currently python works, java does not (maybe after computer restart)

I did not use the code in code blocks but will re-ask this question if I want a new file that is not working after assigning a program and a computer restart.

Thank you.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.