ShellNew not working

D

David Trimboli

David said:
You are doing it wrong.

Nice try, but I'm doing exactly the same thing on a bunch of other
computers, and it works fine.

I'm looking for any *helpful* advice on what might cause the procedure
not to work. Are there any known reasons?

David
Stardate 6102.3
 
R

Ramesh, MS-MVP

More info needed David. There is a non-obvious cause for this problem, and I
don't think it's documented elsewhere. However, myself and DavidC know that,
and will be able to help if you post a file association report for that
particular filetype experiencing the problem.

FileExtInfo - View the association settings for a file type easily:
http://windowsxp.mvps.org/fileextinfo.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


David said:
You are doing it wrong.

Nice try, but I'm doing exactly the same thing on a bunch of other
computers, and it works fine.

I'm looking for any *helpful* advice on what might cause the procedure
not to work. Are there any known reasons?

David
Stardate 6102.3
 
D

David Trimboli

Ramesh said:
More info needed David. There is a non-obvious cause for this problem, and I
don't think it's documented elsewhere. However, myself and DavidC know that,
and will be able to help if you post a file association report for that
particular filetype experiencing the problem.

FileExtInfo - View the association settings for a file type easily:
http://windowsxp.mvps.org/fileextinfo.htm

Okay, so it's not a known problem.

The problem happens with any extension—that is, I can't add anything to
the New submenu, whether by direct registry modification or through TweakUI.

Here are two FileExtInfo logs. The first is for an existing extension
that I modified, .html, and the second is for an extension I just added,
..test. Both of these were edited by me in regedit.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FileExtInfo v1.0 - Log file
2/7/2006 9:45:25 AM

Complete File association information for ---> .HTML
Useful for troubleshooting File association and other problems
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[HKEY_CLASSES_ROOT\.HTML]
"PerceivedType"="text"
@="FirefoxHTML"
"Content Type"="text/html"

[HKEY_CLASSES_ROOT\.HTML\PersistentHandler]
@="{eec97550-47a9-11cf-b952-00aa0051fe20}"

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


[HKEY_CLASSES_ROOT\FirefoxHTML]

[HKEY_CLASSES_ROOT\FirefoxHTML\DefaultIcon]
@="\"%1\""

[HKEY_CLASSES_ROOT\FirefoxHTML\shell]

[HKEY_CLASSES_ROOT\FirefoxHTML\shell\Edit]
@="&Edit"

[HKEY_CLASSES_ROOT\FirefoxHTML\shell\Edit\command]
@="\"C:\\Program Files\\Microsoft Office\\OFFICE11\\msohtmed.exe\" %1"

[HKEY_CLASSES_ROOT\FirefoxHTML\shell\Edit with Dreamweaver]
@="Edit with Dreamweaver MX"

[HKEY_CLASSES_ROOT\FirefoxHTML\shell\Edit with Dreamweaver\Command]
@="\"C:\\Program Files\\Macromedia\\Dreamweaver MX\\Dreamweaver.exe\" %1"

[HKEY_CLASSES_ROOT\FirefoxHTML\shell\open]

[HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\command]
@="C:\\PROGRA~1\\MOZILL~1\\FIREFOX.EXE -url \"%1\""

[HKEY_CLASSES_ROOT\FirefoxHTML\shell\Print]
@="&Print"

[HKEY_CLASSES_ROOT\FirefoxHTML\shell\Print\command]
@="\"C:\\Program Files\\Microsoft Office\\OFFICE11\\msohtmed.exe\" /p %1"

[HKEY_CLASSES_ROOT\FirefoxHTML\ShellEx]

[HKEY_CLASSES_ROOT\FirefoxHTML\ShellEx\IconHandler]
@="{42042206-2D85-11D3-8CFF-005004838597}"


[HKEY_CLASSES_ROOT\SystemFileAssociations\text]

[HKEY_CLASSES_ROOT\SystemFileAssociations\text\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\

00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\

65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,00,35,\
00,32,00,00,00

[HKEY_CLASSES_ROOT\SystemFileAssociations\text\OpenWithList]

[HKEY_CLASSES_ROOT\SystemFileAssociations\text\OpenWithList\Notepad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\text\OpenWithList\WordPad.exe]
@=""

[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell]

[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\edit]

[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\edit\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\

00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\

54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00

[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\open]

[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\

00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\

54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.HTML]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.HTML\OpenWithList]
"a"="FIREFOX.EXE"
"MRUList"="a"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.HTML\OpenWithProgids]
"htmlfile"=hex(0):
"FirefoxHTML"=hex(0):







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FileExtInfo v1.0 - Log file
2/7/2006 9:48:06 AM

Complete File association information for ---> .TEST
Useful for troubleshooting File association and other problems
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[HKEY_CLASSES_ROOT\.TEST]

[HKEY_CLASSES_ROOT\.TEST\ShellNew]
"NullFile"="\"\""
 
R

Ramesh, MS-MVP

For .test, it's a *known* problem. The following link was taken from the
MSDN documentation link in your original post:

"To add a file-creation command to the New submenu, your application's files
must have a file class associated with them"

Whereas your .test files remains unassociated.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Ramesh said:
More info needed David. There is a non-obvious cause for this problem, and
I
don't think it's documented elsewhere. However, myself and DavidC know
that,
and will be able to help if you post a file association report for that
particular filetype experiencing the problem.

FileExtInfo - View the association settings for a file type easily:
http://windowsxp.mvps.org/fileextinfo.htm

Okay, so it's not a known problem.

The problem happens with any extension—that is, I can't add anything to
the New submenu, whether by direct registry modification or through TweakUI.

Here are two FileExtInfo logs. The first is for an existing extension
that I modified, .html, and the second is for an extension I just added,
..test. Both of these were edited by me in regedit.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FileExtInfo v1.0 - Log file
2/7/2006 9:48:06 AM

Complete File association information for ---> .TEST
Useful for troubleshooting File association and other problems
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[HKEY_CLASSES_ROOT\.TEST]

[HKEY_CLASSES_ROOT\.TEST\ShellNew]
"NullFile"="\"\""
 
R

Ramesh, MS-MVP

Correction:

It should be:

The following *line* was taken............

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


For .test, it's a *known* problem. The following link was taken from the
MSDN documentation link in your original post:

"To add a file-creation command to the New submenu, your application's files
must have a file class associated with them"

Whereas your .test files remains unassociated.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


"David Trimboli" <[email protected]> wrote in message
 
D

David Trimboli

Ramesh said:
For .test, it's a *known* problem. The following link was taken from the
MSDN documentation link in your original post:

"To add a file-creation command to the New submenu, your application's files
must have a file class associated with them"

Whereas your .test files remains unassociated.

Okay, that's fine then. But what about .html? Or any other associated
file extension? I can't add them, either.

David
Stardate 6104.9
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top