Solved

Getting list of win app

Posted on 2003-11-08
4
172 Views
Last Modified: 2010-04-16
How can i get the list of applications that appears on the "New" option when i right-click in Windows.

I mean, first u right click, then select the option "New" and u can see a list of items that u can create, for example a winzip or a word file.

My question is how can i get that list?

Thanks.
0
Comment
Question by:Guzmandres
4 Comments
 
LVL 20

Accepted Solution

by:
TheAvenger earned 25 total points
ID: 9708061
You can find those in the registry under the key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew

Unfortunately I cannot tell you exactly what the information in the registry shows about them because it's binary. Maybe you can search Google for that key.
0
 
LVL 10

Assisted Solution

by:ptmcomp
ptmcomp earned 25 total points
ID: 9709844
You can find the information in the registry.

Under the key [HKEY_CLASSES_ROOT] you can find all extensions and their shell commands and extensions.

Here are two examples:

[HKEY_CLASSES_ROOT\.doc\Word.Document.8\ShellNew]
"FileName"="winword8.doc"

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

In %SystemRoot%\ShellNew (e.g.: C:\Winnt\ShellNew) you can find the documents used for the command ShellNew
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question