Hi Mike,
Thanks Wes. I have this shortcut on my desktop:
%windir%\hh.exe ms-its:C:\WINDOWS\Help\ntcmds.chm::/ntcmds.htm
I have that shortcut on my Start Menu. ;-)
It looks like hh is interpreted as shorthand for
%windir%\hh.exe ms-its:C:\WINDOWS\Help\
Yep. I never type more than I have to. You have to type the complete paths
for the shortcut.
%windir%\hh.exe ms-its:c:\Windows\Help\ntcmds.chm::/ntcmds.htm
A shortcut to c:\Windows\Help\ntcmds.chm will also open ntcmds.chm, but you
have to navigate around to get to the exact page that you want.
hh ntcmds.chm in the Run command will also open ntcmds.chm
hh ntcmds.chm::/ntcmds.htm in the Run command will open right to the page.
ms-its:c:\Windows\Help\ntcmds.chm::/ntcmds.htm in the Run command will open
it in Internet Explorer.
hh ms-its:c:\Windows\Help\ntcmds.chm::/ntcmds.htm in the Run command will
also open it with hh.exe.
ms-its:c:\Windows\Help\ntcmds.chm::/ntcmds.htm will also work from the IE
Address bar.
Also, it looks very similar to:
http://
Ms-its protocol uses Ms-its:filename.chm::/page.htm
There are also these protocols: file, http, https, ftp, its, ms-its,
mk
msitstore and hcp.
You know about Hypertext Transfer Protocol,
http://SOMEADDRESS and secure
HTTP
https://SOMEADDRESS and file transfer protocol, ftp://ftpserveraddress
{20D04FE0-3AEA-1069-A2D8-08002B30309D} is the CLSID for My Computer.
{7007ACC7-3202-11D1-AAD2-00805FC1270E} is the CLSID for Network Connections.
The file protocol. This pasted in Start | Run
file:///::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
opens Network Connections.
This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
also opens Network Connections.
This pasted in Start | Run
Explorer.exe
/e,/root,::{208D2C60-3AEA-1069-A2D7-08002B30309D}\::{7007ACC7-3202-11D1-AAD2
-00805FC1270E}
also opens Network Connections.
You can complicate it in many ways.
Mk
MSITStore:filename.chm::/page.htm
Protocol: mk. Protocol specific address: @MSITSTore.
hh Mk
MSITStore:c:\Windows\Help\ntcmds.chm::/ntcmds.htm in the Run command
will open it with hh.exe.
Mk
MSITStore:c:\Windows\Help\ntcmds.chm::/ntcmds.htm in the Run command
will open it with Internet Explorer.
Hcp protocol. This pasted in Start | Run
hcp://system/HomePage.htm
opens Help and Support to the home page.
*.chm files are Compiled HTML Help files.
hh is hh.exe (Microsoft® HTML Help Executable). hh.exe is what opens *.chm
files.
Any *.chm file that is in C:\WINDOWS\Help (%windir%\Help) can be opened with
the hh command.
You can open .chm files from the Run command by typing or pasting...
hh ntcmds.chm
Open to a specific page/article...
hh ntcmds.chm::/ntcmds.htm
hh ntcmds.chm::/dos_diffs.htm
hh ntcmds.chm::/cipher.htm
hh wmplayer.chm
Open to a specific page/article...
hh wmplayer.chm::/htm/player_overview_formats.htm
hh taskbar.chm::/win_tray_start_programs_runcommand.htm
Hint: You can find the Address (URL) of a Help page/article in Properties.
For example...
Open Help and Support | Type: boot in the Search box | Click the Arrow |
Click on: Require users to press CTRL+ALT+DELETE before logging on |
Right click in the right hand pane of: Require users to press
CTRL+ALT+DELETE before logging on | Properties | Address (URL) shows:
ms-its:C:\WINDOWS\Help\usercpl.chm::/usercpl_secureboot.htm |
Highlight: usercpl.chm::/usercpl_secureboot.htm | Ctrl + C to copy |
add hh | And you get:
hh usercpl.chm::/usercpl_secureboot.htm
Paste: hh usercpl.chm::/usercpl_secureboot.htm into the Run command and
click OK.
Of course you can navigate to C:\WINDOWS\Help and locate usercpl.chm, double
click it and navigate to Require users to press CTRL+ALT+DELETE before
logging on.
Or just paste C:\WINDOWS\Help\usercpl.chm into the Run command and navigate
to Require users to press CTRL+ALT+DELETE before logging on.
And of course, most of these open with Help and Support (helpctr.exe).
What I like about the hh and hcp commands is you can have someone type or
paste the command into the Run command. That is easier then listing however
many steps that it takes to get there through Help and Support.
For example, pasting: hh usercpl.chm::/usercpl_secureboot.htm into the Run
command is easier and quicker.
Any *.chm file can be opened by double clicking.
Any *.chm file can be opened by typing or pasting the full path in the
Run command.
There are also hcp commands.
hcp://system/sysinfo/sysInfoLaunch.htm for example, opens Advanced System
Information in Help.
This was also interesting:
The first loaded the browser;
The second loaded a second instance of CMD.exe
If you type: START in a command prompt, without parameters, start opens a
second command prompt window. With the second command, cmd.exe apparently
doesn't even see the second part of the command and ignores it.
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In