rrz
asked on
Add to New menu
I am on XP. When I right click on my desktop and select New, I want to be able to create a JSP file. Currently what I do is to select "Text Document" and then rename the file and change the extension. For example, I change abc.txt --> abc.jsp . But I am getting tried of this process. How can I add to the New menu to directly create abc.jsp file ? A JSP file is just plain text file.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
>and the file 920953 is there
I meant to say 920953.jsp is there.
I meant to say 920953.jsp is there.
I'm not sure just what you did. This link from the page I told you about seems to me to be the easiest to follow:
http://windowsxp.mvps.org/shellnewadd.htm
http://windowsxp.mvps.org/shellnewadd.htm
>> restarted my machine several times. No luck yet
Hi, rrz@871311
Is the file associated correctly with an application? And if so, which application is it?
Click Start, Run and type:
CMD /K REG QUERY HKCR\.JSP
Press ENTER.
Copy the output, and paste the information along with your reply.
Hi, rrz@871311
Is the file associated correctly with an application? And if so, which application is it?
Click Start, Run and type:
CMD /K REG QUERY HKCR\.JSP
Press ENTER.
Copy the output, and paste the information along with your reply.
ASKER
Lee, I did read that last page you posted. I tried using NullFile manually and then I used TweakUI to use FileName as I described in my last post. But, no luck yet.
sramesh2k, thank you for giving me some of your time.
>Is the file associated correctly with an application?
I am using an old program called "Programmer's File Editor" ( http://www.lancs.ac.uk/people/steveb/cpaap/pfe/default.htm )I have using it for 8 years and I never felt the need to change to something else. I have gone to Folder Options,File Types and I use PFE for a lot of different files. I use it open to JSP files and java source files. I also use it to edit HTML files, property files and XML files.
Here is the output that you requested( PFE32 is what I am using).
! REG.EXE VERSION 3.0
HKEY_CLASSES_ROOT\.JSP
<NO NAME> REG_SZ PFE32
HKEY_CLASSES_ROOT\.JSP\She llNew
sramesh2k, thank you for giving me some of your time.
>Is the file associated correctly with an application?
I am using an old program called "Programmer's File Editor" ( http://www.lancs.ac.uk/people/steveb/cpaap/pfe/default.htm )I have using it for 8 years and I never felt the need to change to something else. I have gone to Folder Options,File Types and I use PFE for a lot of different files. I use it open to JSP files and java source files. I also use it to edit HTML files, property files and XML files.
Here is the output that you requested( PFE32 is what I am using).
! REG.EXE VERSION 3.0
HKEY_CLASSES_ROOT\.JSP
<NO NAME> REG_SZ PFE32
HKEY_CLASSES_ROOT\.JSP\She
Hi rrz@871311,
Interesting! 920953.jsp is not shown in the output?
Download FileExtInfo from here:
FileExtInfo - View the association settings for a file type easily:
http://windowsxp.mvps.org/fileextinfo.htm
Unzip and run the tool. Select .JSP from the listing and generate a report. Copy and paste the contents in your reply. This report will have the complete details that I'm looking for.
Interesting! 920953.jsp is not shown in the output?
Download FileExtInfo from here:
FileExtInfo - View the association settings for a file type easily:
http://windowsxp.mvps.org/fileextinfo.htm
Unzip and run the tool. Select .JSP from the listing and generate a report. Copy and paste the contents in your reply. This report will have the complete details that I'm looking for.
ASKER
[HKEY_CLASSES_ROOT\.JSP]
@="PFE32"
[HKEY_CLASSES_ROOT\.JSP\Sh ellNew]
"FileName"="920953.jsp"
[HKEY_CLASSES_ROOT\PFE32]
@="Programmer's File Editor (32-Bit)"
"EditFlags"=dword:00000000
"BrowserFlags"=dword:00000 008
"AlwaysShowExt"=""
[HKEY_CLASSES_ROOT\PFE32\s hell]
@=""
[HKEY_CURRENT_USER\Softwar e\Microsof t\Windows\ CurrentVer sion\Explo rer\FileEx ts\.JSP]
"Application"="PFE32.EXE"
[HKEY_CURRENT_USER\Softwar e\Microsof t\Windows\ CurrentVer sion\Explo rer\FileEx ts\.JSP\Op enWithList ]
"a"="javaw.exe"
"MRUList"="ghebfdca"
"b"="eclipse.exe"
"c"="NOTEPAD.EXE"
"d"="WORDPAD.EXE"
"e"="iexplore.exe"
"f"="gvim.exe"
"g"="PFE32.EXE"
"h"="TweakUI.exe"
[HKEY_CURRENT_USER\Softwar e\Microsof t\Windows\ CurrentVer sion\Explo rer\FileEx ts\.JSP\Op enWithProg ids]
"jsp_auto_file"=hex(0):
"PFE32"=hex(0):
@="PFE32"
[HKEY_CLASSES_ROOT\.JSP\Sh
"FileName"="920953.jsp"
[HKEY_CLASSES_ROOT\PFE32]
@="Programmer's File Editor (32-Bit)"
"EditFlags"=dword:00000000
"BrowserFlags"=dword:00000
"AlwaysShowExt"=""
[HKEY_CLASSES_ROOT\PFE32\s
@=""
[HKEY_CURRENT_USER\Softwar
"Application"="PFE32.EXE"
[HKEY_CURRENT_USER\Softwar
"a"="javaw.exe"
"MRUList"="ghebfdca"
"b"="eclipse.exe"
"c"="NOTEPAD.EXE"
"d"="WORDPAD.EXE"
"e"="iexplore.exe"
"f"="gvim.exe"
"g"="PFE32.EXE"
"h"="TweakUI.exe"
[HKEY_CURRENT_USER\Softwar
"jsp_auto_file"=hex(0):
"PFE32"=hex(0):
ASKER
I just want to create a empty file. So, I guess NullFile or FileName will do.
I now see where the problem is. Pls post the full path to PFE32.EXE, and I'll create a REG file for you.
ASKER
C:\pfe\PFE32.exe
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Success. Thank you, Lee and sramesh2k. I am impressed with your expertise. I increased the points because this was more work than I originally thought. I learned a little more about windows and that is always good. In the future should I always put applications in C:\Program Files ? Would that have made this easier ?
Hi rrz,
The problem is that the file class was not registered completely (no shell\verb present). The location of the exe is not the problem.
The problem is that the file class was not registered completely (no shell\verb present). The location of the exe is not the problem.
ASKER
Thanks, sramesh2k.
ASKER