List of registered short forms

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

List of registered short forms

Post by zer0 »

Now that CTBs can get icons from those short forms, it's be really useful to know what they actually are! I had a look on the web, but to no avail. So I'd like to compile a list of those short names in this thread, so please either link to a list of them or just add what they are if you know. To begin with, we have:

Code: Select all

Photoshop
WinRAR
WinZip32
Wordpad
Notepad
WinWord
Powerpnt
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: List of registered short forms

Post by serendipity »

zer0 wrote:Now that CTBs can get icons from those short forms, it's be really useful to know what they actually are! I had a look on the web, but to no avail. So I'd like to compile a list of those short names in this thread, so please either link to a list of them or just add what they are if you know. To begin with, we have:

Code: Select all

Photoshop
WinRAR
WinZip32
Wordpad
Notepad
WinWord
Powerpnt
Some more:

Code: Select all

iexplore /1-25
i_view32 /1-11
iTunes /1-28
mplayerc /1-6
opera /1-5
mspaint /1-6

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: List of registered short forms

Post by Stefan »

Take a lock at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths


You can even create your own short name:
- New Key: XY.exe
- (Standard) = X:\path\to\XYplorer.exe

Test:
Start > Run [xy ]
ENTER

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: List of registered short forms

Post by TheQwerty »

Stefan wrote:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
I started there, but that doesn't seem to be where they are defined (at least it wasn't here).
Process Monitor revealed that it is checking:
HKEY_CURRENT_USER\Software\Classes\Applications\[appname].exe\shell\open\command
HKEY_CLASSES_ROOT\Applications\[appname].exe\shell\open\command
HKEY_CURRENT_USER\Software\Classes\Applications\[appname].exe\shell\edit\command
HKEY_CLASSES_ROOT\Applications\[appname].exe\shell\edit\command

CLASSES_ROOT is populated from:
HKEY_CURRENT_USER\Software\Classes\
and
HKEY_LOCAL_MACHINE\Software\Classes\

So if you want to add your own you should do it in one of those two places (HKCU is given priority over HKLM when they conflict, but if you want it to be default for all users HKLM is the way to go).
The names you can use are the [appname] parts of the key names, but you can drop the ".exe".

If you wanted to add "C:\Apps\Kitten.exe" for all users you'd want to create:
"HKLM\Software\Classes\Applications\kitten.exe\shell\open\command"
And then define the default value of "command" to be: "C:\Apps\Kitten.exe"
Unless Kitten can open files then you should probably just make it so it's ready for future use: "C:\Apps\Kitten.exe" "%1"
Then you can just use "kitten" in XY.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: List of registered short forms

Post by Stefan »

You're right.
Classes\Applications\ can be used too to find local used 'short names' :D

Post Reply