Edit "New Document Menu", Right Clicked from Desktop

  • Thread starter Thread starter Ray
  • Start date Start date
R

Ray

When you right-click on the desktop, a menu appears that
includes the option to create a new FOLDER, SHORTCUT or a
DOCUMENT created by a specific application.

I need to see what executable is being called for a
(custom)application in the New DOCUMENT menu.

Where can I see / edit this information?

Thanks,
Ray
 
While you can call an executable for this menu, afaik I'm the only person to have ever done so. Most entries fall into two types
A blank document and a registry entry pointing to the document. The file extension must be registered and must have an open command.
A registry entry saying a blank document has nothing in it (like a text file). It just creates a named file with zero size.

There is a third way similar to #1. Where the contents of the file is stored in a registry key rather than the file system.

The fourth way is to start a program. But apart from a program I wrote I've not seen anything else do it this way.
 
OK - It looks like you understand what I am attempting to
do... Let me provide a little more detail.

Specifically, the "New Document" link I need to see the
properties for actually runs a wizard that assists the
user in creating a new AS/400 terminal session and leaves
a shiny new icon on their desktop.

The reason I need this is that the emulation
software "IBM's iSeries Access for Windows" works great
in XP, but the "New AS/400 Session" icon that appears in
the "New Document" menu when right clicked from the
desktop, does NOT appear in some (ie. Win98) other
operating systems.

Therefore, if I know the program / routine that is being
called, I reason that I can simply execute the item
directly (batch file, command line, whatever...).

Any helpful hints for tracking this one down?

Thanks,
Ray
-----Original Message-----
While you can call an executable for this menu, afaik
I'm the only person to have ever done so. Most entries
fall into two types
A blank document and a registry entry pointing to the
document. The file extension must be registered and must
have an open command.
A registry entry saying a blank document has nothing in
it (like a text file). It just creates a named file with
zero size.
There is a third way similar to #1. Where the contents
of the file is stored in a registry key rather than the
file system.
The fourth way is to start a program. But apart from a
program I wrote I've not seen anything else do it this
way.
 
If a text file you would look here
HKEY_CLASSES_ROOT\.txt\ShellNew
The name is one of the 4 types and the data is in the value.
Filename is a file and is in shellnew folder if not specified.
Null is a blank file that has no data
Data is the blank file stored in the registry
I think it's command if running a wizard.

Look at
HKEY_CLASSES_ROOT\.zip\CompressedFolder\ShellNew
For an alternative way of specifing that above (not that common but may trap you). The change is for System File Associations only in 2000/ME/XP.

To run a program that doesn't involve creating a file one has to construct a dummy file type. So even if your prog stores the wizards answers in the registry it will still have to pretend and register a file extension and a default open verb.

So replace your extension for .txt.
 
Back
Top