Where can I find ... ?

S

Spike9458

Where can I find the list of commands that can be run on start/run command
line? My memory isn't all that great, and I know there are some useful
things such as msconfig, regedit, control userpasswords, or something like
that. Is there such a list?

Thanks,

--Jim
 
W

Wesley Vogel

To start a program by using the Run command
1. Click Start and then click Run.
2. In Open, type the path to the item you want to open, or click Browse to
locate it.

Notes
* The Open box lists items you have opened recently. Type or select an item
in the list, and then click OK to open it.
* You can open a file or folder or connect to a shared computer by typing
its path in the Open box. You can also connect to an Internet or intranet
site; for example, to reach the Microsoft Web site, type
www.microsoft.com in the Open box. ]]
From...
To start a program by using the Run command
Start | Run | Paste...
hh taskbar.chm::/win_tray_start_programs_runcommand.htm

Open a command prompt, type: help and hit Enter.

Command-line reference

Start | Run | Copy and paste the following line:

hh ntcmds.chm

Click OK.

Double click on the closed book icon.

Command-line reference A-Z

Start | Run | Copy and paste the following line:

hh ntcmds.chm::/ntcmds.htm

Click OK.

Here's some more.

Start | Run | Type: . | Click OK opens %userprofile%

Start | Run | Type: .. | Click OK opens C:\Documents and Settings

Start | Run | Type: ... | Click OK opens My Computer

Start | Run | Type: \ | Click OK opens C:\, the root folder

Description of Control Panel Files in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;313808

Description of Control Panel (.cpl) Files
http://support.microsoft.com/default.aspx?scid=kb;EN-US;149648

How to Open Control Panel Folders from the Command Prompt
http://support.microsoft.com/default.aspx?scid=kb;EN-US;180025

How to run Control Panel tools by typing a command
http://support.microsoft.com/default.aspx?scid=kb;en-us;192806

You do not need to open a command prompt, just the Run box.

Open Control Panel...
Start | Run | control | Click OK

Open Folder Options...
Start | Run | control folders | Click OK

Some will open without using control (quicker to type).
i.e. Start | Run | sysdm.cpl | Click OK
-----

Here are a few...

control admintools Administrative Tools
control appwiz.cpl,,2 Add or Remove Programs/Add or Remove Windows
Components
Control color Display Properties @Screen Saver tab
control date/time Date and Time Properties
control desktop Display Properties
control folders Folder Options
control fonts Fonts Folder
control international Regional and Language Options
control keyboard Keyboard Control Panel
control main.cpl @X Mouse Control Panel
control main.cpl @1 Keyboard Control Panel
control mouse Mouse Control Panel
Control netconnections Network Connections
control printers Printers Folder
control schedtasks Add Scheduled Task
control Sysdm.cpl System Properties @General tab
control Sysdm.cpl,System,1 System Properties @computer Name tab
control Sysdm.cpl,System,2 System Properties @Hardware tab
control Sysdm.cpl,System,3 System Properties @Advanced tab
control Sysdm.cpl,System,4 System Properties @System Restore tab
control Sysdm.cpl,System,5 System Properties @Automatic Updates tab
control Sysdm.cpl,System,6 System Properties @Remote tab
control userpasswords User Accounts (Home version)
control userpasswords2 User Accounts (Pro version)
-----

Printers & Faxes for some reason doesn't have a *.cpl file.
Neither do Administrative Tools, Fonts, Scanners and Cameras, Scheduled
Tasks or Taskbar and Start Menu.

They are Namespace objects.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{2227A280-3AEA-1069-A2DE­-08002B30309D}
opens Printers and Faxes

Start | Run | fonts | Click OK will open the Fonts folder.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD­-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524152}
opens the Fonts folder

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87­-00AA0060F5BF}
will open Scheduled Tasks
-----

*.cpl files are Control Panel extensions, they show up in the Control Panel.

You may not have all of these and you may have some not listed here. This
is a list from my machine.

To open any *.cpl file, type the name in the Run box.
I.e. Start | Run | Type: desk.cpl | Click OK

Control Panel cpl's:

access.cpl = Accessibility Options
appwiz.cpl = Add or Remove Programs
desk.cpl = Desktop Control Panel = Display Properties
hdwwiz.cpl = Add Hardware Control Panel Applet
inetcpl.cpl = Internet Control Panel = Internet Properties
intl.cpl = Regional and Language Options
irprops.cpl = Wireless Link Control Panel Applet
joy.cpl = Game Controllers
jpicpl32.cpl = JavaPlugin
main.cpl = Mouse Properties
mmsys.cpl = Sounds and Audio Device Properties
ncpa.cpl = Network Connections Control-Panel Stub
nusrmgr.cpl = Windows User Manager = Users Accounts
nvtuicpl.cpl = NVIDIA nView Control Panel, Version 52.16
nwc.cpl = Client Service for NetWare Applet
odbccp32.cpl = Microsoft Data Access - ODBC Control Panel
plotman.cpl = Autodesk Hardcopy Plotter Manager
powercfg.cpl = Power Management Configuration Control Panel Applet or Power
Options Properties
SanCpl.cpl = SiSoftware Sandra™ English Control Panel Extension (Win32
x86)(NT)(ANSI)
sapi.cpl = SAPI 5 = Speech Properties
styleman.cpl = Autodesk Hardcopy Plot Style Manager
sysdm.cpl = System Properties
telephon.cpl = Telephony Control Panel
timedate.cpl = Time Date Properties
wuaucpl.cpl = Automatic Updates Control Panel (Added by SP2??)
Wscui.cpl = SP2 Security Center (SP2)

[[The command shell is a separate software program that provides direct
communication between the user and the operating system. The non-graphical
command shell user interface provides the environment in which you run
character-based applications and utilities. The command shell executes
programs and displays their output on the screen by using individual
characters similar to the MS-DOS command interpreter Command.com. The
Windows XP command shell uses the command interpreter Cmd.exe, which loads
applications and directs the flow of information between applications, to
translate user input into a form that the operating system understands.]]
Command shell overview
http://www.microsoft.com/windowsxp/.../using/productdoc/en/ntcmds_shelloverview.asp

[[Cmd.exe and Other Command Prompts
Cmd.exe, the application whose name is Command Prompt, is only one of
several forms of command prompts available in Windows XP. Others include the
Run command on the Start menu, the Address toolbar, the Address bar in
Windows Explorer, and the Address bar in Microsoft Internet Explorer. In
many ways, these command prompts function alike. You can start a
Windows-based application from any of them, for example. (If you start from
Internet Explorer, you need to include an explicit path specification, or
Internet Explorer will try to find a URL that matches your command string.)
What’s exceptional about Cmd.exe is that it allows you to execute internal
MS-DOS commands (that is, commands that are not stored in discrete .exe
files).]]
from...
Working with the Command Prompt From Microsoft Windows XP Inside Out Deluxe,
Second Edition eBook
Copyright © 2005 by Ed Bott, Carl Siechert, and Craig Stinson

The Command Line in Windows XP Start-Run Line
http://commandwindows.com/runline.htm

There is no list in one place. But here are 156...

156 Useful Run Commands
http://www.fixmyxp.com/content/view/20/42/

BTW, that was the first hit on a Google search on run commands. Keep in
mind that a good share of those are listed in
C:\WINDOWS\Help\ntcmds.chm::/ntcmds.htm that I mentioned in my first post.

Start | Run | Copy and paste the following line:

hh ntcmds.chm::/ntcmds.htm

Click OK.

Now that hh is a useful command, isn't it?

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).

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.

Type hcp:// followed by the path and file name in the Address box of
Microsoft Internet Explorer and then click Open.

What is the Help and Support Center?
Help and Support Center (HSC) is a feature in Windows that provides help on
a variety of topics. For instance, HSC enables users to learn about Windows
features, download and install software updates, determine whether a
particular hardware device is compatible with Windows, get assistance from
Microsoft, and so forth.

Users and programs can execute URL links to Help and Support Center by using
the "hcp://" prefix in a URL link instead of "http://".

What is the HCP protocol?
Similar to the HTTP protocol which is used to execute URL links to open a
web browser, the HCP protocol can be used to execute URL links to open the
Help and Support Center feature.

In Start | Run or the Address box of Internet Explorer.

Some of the commands below may not work.

Hcp commands:
hcp://system/HomePage.htm
hcp://system/sysinfo/sysInfoLaunch.htm
hcp://system/netdiag/dglogs.htm
hcp://system/compatctr/compatmode.htm
hcp://help/tshoot/tsmodem.htm
hcp://help/tshoot/tsprint.htm
hcp://help/tshoot/tssound.htm
hcp://help/tshoot/tsics.htm
hcp://help/tshoot/ts_dvd.htm
hcp://help/tshoot/tsdisp.htm
hcp://help/tshoot00/w0safemode.htm
Start | run | Helpctr
hcp://system/panels/AdvSearch.htm
hcp://system/sysinfo/RSoP.htm
hcp://system/sysinfo/sysConfigLaunch.htm
hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=
US/Remote%20Assis­tance/Escalation/Unsolicited/unsolicitedrcui.htm "remote
Assistance"
hcp://system/sysinfo/sysConfigLaunch.htm

Introduction to the Windows Command Prompt
http://www.bleepingcomputer.com/tutorials/tutorial76.html

DOS is Dead, Long Live the Command Line
http://vlaurie.com/computers2/Articles/command.htm

Frequently Asked Questions Regarding The Windows 2000 Command Processor
http://www.microsoft.com/technet/prodtechnol/Windows2000serv/support/FAQW2KCP.mspx

Information about command and CMD commands
http://www.computerhope.com/cmd.htm

The Command Line in Windows XP commands that everybody can use
http://commandwindows.com/command2.htm

The Windows NT Command Shell
By Tim Hill
Chapter 2 from Windows NT Shell Scripting, published by MacMillan Technical
Publishing
http://www.microsoft.com/technet/prodtechnol/winntas/deploy/shellscr.mspx

Undocumented Command Prompt Tips
http://www.windowsitpro.com/Windows/Article/ArticleID/3678/3678.html

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
P

POP

Holy smoke, Wesley! You went above and beyond the call of duty
on that one!

Seriously, thank you for your work and time in putting that
together, whether it's partly boilerplate or not - I know several
people, myself included who can use that info. It's a keeper,
for sure.

Regards,

Pop`



Wesley Vogel said:
To start a program by using the Run command
1. Click Start and then click Run.
2. In Open, type the path to the item you want to open, or
click Browse to
locate it.

Notes
* The Open box lists items you have opened recently. Type or
select an item
in the list, and then click OK to open it.
* You can open a file or folder or connect to a shared computer
by typing
its path in the Open box. You can also connect to an Internet
or intranet
site; for example, to reach the Microsoft Web site, type
www.microsoft.com in the Open box. ]]
From...
To start a program by using the Run command
Start | Run | Paste...
hh taskbar.chm::/win_tray_start_programs_runcommand.htm

Open a command prompt, type: help and hit Enter.

Command-line reference

Start | Run | Copy and paste the following line:

hh ntcmds.chm

Click OK.

Double click on the closed book icon.

Command-line reference A-Z

Start | Run | Copy and paste the following line:

hh ntcmds.chm::/ntcmds.htm

Click OK.

Here's some more.

Start | Run | Type: . | Click OK opens %userprofile%

Start | Run | Type: .. | Click OK opens C:\Documents and
Settings

Start | Run | Type: ... | Click OK opens My Computer

Start | Run | Type: \ | Click OK opens C:\, the root
folder

Description of Control Panel Files in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;313808

Description of Control Panel (.cpl) Files
http://support.microsoft.com/default.aspx?scid=kb;EN-US;149648

How to Open Control Panel Folders from the Command Prompt
http://support.microsoft.com/default.aspx?scid=kb;EN-US;180025

How to run Control Panel tools by typing a command
http://support.microsoft.com/default.aspx?scid=kb;en-us;192806

You do not need to open a command prompt, just the Run box.

Open Control Panel...
Start | Run | control | Click OK

Open Folder Options...
Start | Run | control folders | Click OK

Some will open without using control (quicker to type).
i.e. Start | Run | sysdm.cpl | Click OK
-----

Here are a few...

control admintools Administrative Tools
control appwiz.cpl,,2 Add or Remove Programs/Add or Remove
Windows
Components
Control color Display Properties @Screen Saver
tab
control date/time Date and Time Properties
control desktop Display Properties
control folders Folder Options
control fonts Fonts Folder
control international Regional and Language Options
control keyboard Keyboard Control Panel
control main.cpl @X Mouse Control Panel
control main.cpl @1 Keyboard Control Panel
control mouse Mouse Control Panel
Control netconnections Network Connections
control printers Printers Folder
control schedtasks Add Scheduled Task
control Sysdm.cpl System Properties @General tab
control Sysdm.cpl,System,1 System Properties @Computer Name
tab
control Sysdm.cpl,System,2 System Properties @Hardware tab
control Sysdm.cpl,System,3 System Properties @Advanced tab
control Sysdm.cpl,System,4 System Properties @System
Restore tab
control Sysdm.cpl,System,5 System Properties @Automatic
Updates tab
control Sysdm.cpl,System,6 System Properties @Remote tab
control userpasswords User Accounts (Home version)
control userpasswords2 User Accounts (Pro version)
-----

Printers & Faxes for some reason doesn't have a *.cpl file.
Neither do Administrative Tools, Fonts, Scanners and Cameras,
Scheduled
Tasks or Taskbar and Start Menu.

They are Namespace objects.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{2227A280-3AEA-1069-A2DE­-08002B30309D}
opens Printers and Faxes

Start | Run | fonts | Click OK will open the Fonts folder.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD­-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524152}
opens the Fonts folder

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87­-00AA0060F5BF}
will open Scheduled Tasks
-----

*.cpl files are Control Panel extensions, they show up in the
Control Panel.

You may not have all of these and you may have some not listed
here. This
is a list from my machine.

To open any *.cpl file, type the name in the Run box.
I.e. Start | Run | Type: desk.cpl | Click OK

Control Panel cpl's:

access.cpl = Accessibility Options
appwiz.cpl = Add or Remove Programs
desk.cpl = Desktop Control Panel = Display Properties
hdwwiz.cpl = Add Hardware Control Panel Applet
inetcpl.cpl = Internet Control Panel = Internet Properties
intl.cpl = Regional and Language Options
irprops.cpl = Wireless Link Control Panel Applet
joy.cpl = Game Controllers
jpicpl32.cpl = JavaPlugin
main.cpl = Mouse Properties
mmsys.cpl = Sounds and Audio Device Properties
ncpa.cpl = Network Connections Control-Panel Stub
nusrmgr.cpl = Windows User Manager = Users Accounts
nvtuicpl.cpl = NVIDIA nView Control Panel, Version 52.16
nwc.cpl = Client Service for NetWare Applet
odbccp32.cpl = Microsoft Data Access - ODBC Control Panel
plotman.cpl = Autodesk Hardcopy Plotter Manager
powercfg.cpl = Power Management Configuration Control Panel
Applet or Power
Options Properties
SanCpl.cpl = SiSoftware Sandra™ English Control Panel Extension
(Win32
x86)(NT)(ANSI)
sapi.cpl = SAPI 5 = Speech Properties
styleman.cpl = Autodesk Hardcopy Plot Style Manager
sysdm.cpl = System Properties
telephon.cpl = Telephony Control Panel
timedate.cpl = Time Date Properties
wuaucpl.cpl = Automatic Updates Control Panel (Added by SP2??)
Wscui.cpl = SP2 Security Center (SP2)

[[The command shell is a separate software program that
provides direct
communication between the user and the operating system. The
non-graphical
command shell user interface provides the environment in which
you run
character-based applications and utilities. The command shell
executes
programs and displays their output on the screen by using
individual
characters similar to the MS-DOS command interpreter
Command.com. The
Windows XP command shell uses the command interpreter Cmd.exe,
which loads
applications and directs the flow of information between
applications, to
translate user input into a form that the operating system
understands.]]
Command shell overview
http://www.microsoft.com/windowsxp/.../using/productdoc/en/ntcmds_shelloverview.asp

[[Cmd.exe and Other Command Prompts
Cmd.exe, the application whose name is Command Prompt, is only
one of
several forms of command prompts available in Windows XP.
Others include the
Run command on the Start menu, the Address toolbar, the Address
bar in
Windows Explorer, and the Address bar in Microsoft Internet
Explorer. In
many ways, these command prompts function alike. You can start
a
Windows-based application from any of them, for example. (If
you start from
Internet Explorer, you need to include an explicit path
specification, or
Internet Explorer will try to find a URL that matches your
command string.)
What’s exceptional about Cmd.exe is that it allows you to
execute internal
MS-DOS commands (that is, commands that are not stored in
discrete .exe
files).]]
from...
Working with the Command Prompt From Microsoft Windows XP
Inside Out Deluxe,
Second Edition eBook
Copyright © 2005 by Ed Bott, Carl Siechert, and Craig Stinson

The Command Line in Windows XP Start-Run Line
http://commandwindows.com/runline.htm

There is no list in one place. But here are 156...

156 Useful Run Commands
http://www.fixmyxp.com/content/view/20/42/

BTW, that was the first hit on a Google search on run commands.
Keep in
mind that a good share of those are listed in
C:\WINDOWS\Help\ntcmds.chm::/ntcmds.htm that I mentioned in my
first post.

Start | Run | Copy and paste the following line:

hh ntcmds.chm::/ntcmds.htm

Click OK.

Now that hh is a useful command, isn't it?

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).

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.

Type hcp:// followed by the path and file name in the Address
box of
Microsoft Internet Explorer and then click Open.

What is the Help and Support Center?
Help and Support Center (HSC) is a feature in Windows that
provides help on
a variety of topics. For instance, HSC enables users to learn
about Windows
features, download and install software updates, determine
whether a
particular hardware device is compatible with Windows, get
assistance from
Microsoft, and so forth.

Users and programs can execute URL links to Help and Support
Center by using
the "hcp://" prefix in a URL link instead of "http://".

What is the HCP protocol?
Similar to the HTTP protocol which is used to execute URL links
to open a
web browser, the HCP protocol can be used to execute URL links
to open the
Help and Support Center feature.

In Start | Run or the Address box of Internet Explorer.

Some of the commands below may not work.

Hcp commands:
hcp://system/HomePage.htm
hcp://system/sysinfo/sysInfoLaunch.htm
hcp://system/netdiag/dglogs.htm
hcp://system/compatctr/compatmode.htm
hcp://help/tshoot/tsmodem.htm
hcp://help/tshoot/tsprint.htm
hcp://help/tshoot/tssound.htm
hcp://help/tshoot/tsics.htm
hcp://help/tshoot/ts_dvd.htm
hcp://help/tshoot/tsdisp.htm
hcp://help/tshoot00/w0safemode.htm
Start | run | Helpctr
hcp://system/panels/AdvSearch.htm
hcp://system/sysinfo/RSoP.htm
hcp://system/sysinfo/sysConfigLaunch.htm
hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=
US/Remote%20Assis­tance/Escalation/Unsolicited/unsolicitedrcui.htm
"remote
Assistance"
hcp://system/sysinfo/sysConfigLaunch.htm

Introduction to the Windows Command Prompt
http://www.bleepingcomputer.com/tutorials/tutorial76.html

DOS is Dead, Long Live the Command Line
http://vlaurie.com/computers2/Articles/command.htm

Frequently Asked Questions Regarding The Windows 2000 Command
Processor
http://www.microsoft.com/technet/prodtechnol/Windows2000serv/support/FAQW2KCP.mspx

Information about command and CMD commands
http://www.computerhope.com/cmd.htm

The Command Line in Windows XP commands that everybody can use
http://commandwindows.com/command2.htm

The Windows NT Command Shell
By Tim Hill
Chapter 2 from Windows NT Shell Scripting, published by
MacMillan Technical
Publishing
http://www.microsoft.com/technet/prodtechnol/winntas/deploy/shellscr.mspx

Undocumented Command Prompt Tips
http://www.windowsitpro.com/Windows/Article/ArticleID/3678/3678.html

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Spike9458 said:
Where can I find the list of commands that can be run on
start/run command
line? My memory isn't all that great, and I know there are
some useful
things such as msconfig, regedit, control userpasswords, or
something like
that. Is there such a list?

Thanks,

--Jim
 
W

Wesley Vogel

I just copied it from two other posts that I had made. I decided to keep a
copy around. ;-) Be easier if I had a web page.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
POP said:
Holy smoke, Wesley! You went above and beyond the call of duty
on that one!

Seriously, thank you for your work and time in putting that
together, whether it's partly boilerplate or not - I know several
people, myself included who can use that info. It's a keeper,
for sure.

Regards,

Pop`



Wesley Vogel said:
To start a program by using the Run command
1. Click Start and then click Run.
2. In Open, type the path to the item you want to open, or
click Browse to
locate it.

Notes
* The Open box lists items you have opened recently. Type or
select an item
in the list, and then click OK to open it.
* You can open a file or folder or connect to a shared computer
by typing
its path in the Open box. You can also connect to an Internet
or intranet
site; for example, to reach the Microsoft Web site, type
www.microsoft.com in the Open box. ]]
From...
To start a program by using the Run command
Start | Run | Paste...
hh taskbar.chm::/win_tray_start_programs_runcommand.htm

Open a command prompt, type: help and hit Enter.

Command-line reference

Start | Run | Copy and paste the following line:

hh ntcmds.chm

Click OK.

Double click on the closed book icon.

Command-line reference A-Z

Start | Run | Copy and paste the following line:

hh ntcmds.chm::/ntcmds.htm

Click OK.

Here's some more.

Start | Run | Type: . | Click OK opens %userprofile%

Start | Run | Type: .. | Click OK opens C:\Documents and
Settings

Start | Run | Type: ... | Click OK opens My Computer

Start | Run | Type: \ | Click OK opens C:\, the root
folder

Description of Control Panel Files in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;313808

Description of Control Panel (.cpl) Files
http://support.microsoft.com/default.aspx?scid=kb;EN-US;149648

How to Open Control Panel Folders from the Command Prompt
http://support.microsoft.com/default.aspx?scid=kb;EN-US;180025

How to run Control Panel tools by typing a command
http://support.microsoft.com/default.aspx?scid=kb;en-us;192806

You do not need to open a command prompt, just the Run box.

Open Control Panel...
Start | Run | control | Click OK

Open Folder Options...
Start | Run | control folders | Click OK

Some will open without using control (quicker to type).
i.e. Start | Run | sysdm.cpl | Click OK
-----

Here are a few...

control admintools Administrative Tools
control appwiz.cpl,,2 Add or Remove Programs/Add or Remove
Windows
Components
Control color Display Properties @Screen Saver
tab
control date/time Date and Time Properties
control desktop Display Properties
control folders Folder Options
control fonts Fonts Folder
control international Regional and Language Options
control keyboard Keyboard Control Panel
control main.cpl @X Mouse Control Panel
control main.cpl @1 Keyboard Control Panel
control mouse Mouse Control Panel
Control netconnections Network Connections
control printers Printers Folder
control schedtasks Add Scheduled Task
control Sysdm.cpl System Properties @General tab
control Sysdm.cpl,System,1 System Properties @Computer Name
tab
control Sysdm.cpl,System,2 System Properties @Hardware tab
control Sysdm.cpl,System,3 System Properties @Advanced tab
control Sysdm.cpl,System,4 System Properties @System
Restore tab
control Sysdm.cpl,System,5 System Properties @Automatic
Updates tab
control Sysdm.cpl,System,6 System Properties @Remote tab
control userpasswords User Accounts (Home version)
control userpasswords2 User Accounts (Pro version)
-----

Printers & Faxes for some reason doesn't have a *.cpl file.
Neither do Administrative Tools, Fonts, Scanners and Cameras,
Scheduled
Tasks or Taskbar and Start Menu.

They are Namespace objects.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{2227A280-3AEA-1069-A2DE­-08002B30309D}
opens Printers and Faxes

Start | Run | fonts | Click OK will open the Fonts folder.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD­-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524152}
opens the Fonts folder

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87­-00AA0060F5BF}
will open Scheduled Tasks
-----

*.cpl files are Control Panel extensions, they show up in the
Control Panel.

You may not have all of these and you may have some not listed
here. This
is a list from my machine.

To open any *.cpl file, type the name in the Run box.
I.e. Start | Run | Type: desk.cpl | Click OK

Control Panel cpl's:

access.cpl = Accessibility Options
appwiz.cpl = Add or Remove Programs
desk.cpl = Desktop Control Panel = Display Properties
hdwwiz.cpl = Add Hardware Control Panel Applet
inetcpl.cpl = Internet Control Panel = Internet Properties
intl.cpl = Regional and Language Options
irprops.cpl = Wireless Link Control Panel Applet
joy.cpl = Game Controllers
jpicpl32.cpl = JavaPlugin
main.cpl = Mouse Properties
mmsys.cpl = Sounds and Audio Device Properties
ncpa.cpl = Network Connections Control-Panel Stub
nusrmgr.cpl = Windows User Manager = Users Accounts
nvtuicpl.cpl = NVIDIA nView Control Panel, Version 52.16
nwc.cpl = Client Service for NetWare Applet
odbccp32.cpl = Microsoft Data Access - ODBC Control Panel
plotman.cpl = Autodesk Hardcopy Plotter Manager
powercfg.cpl = Power Management Configuration Control Panel
Applet or Power
Options Properties
SanCpl.cpl = SiSoftware Sandra™ English Control Panel Extension
(Win32
x86)(NT)(ANSI)
sapi.cpl = SAPI 5 = Speech Properties
styleman.cpl = Autodesk Hardcopy Plot Style Manager
sysdm.cpl = System Properties
telephon.cpl = Telephony Control Panel
timedate.cpl = Time Date Properties
wuaucpl.cpl = Automatic Updates Control Panel (Added by SP2??)
Wscui.cpl = SP2 Security Center (SP2)

[[The command shell is a separate software program that
provides direct
communication between the user and the operating system. The
non-graphical
command shell user interface provides the environment in which
you run
character-based applications and utilities. The command shell
executes
programs and displays their output on the screen by using
individual
characters similar to the MS-DOS command interpreter
Command.com. The
Windows XP command shell uses the command interpreter Cmd.exe,
which loads
applications and directs the flow of information between
applications, to
translate user input into a form that the operating system
understands.]]
Command shell overview
http://www.microsoft.com/windowsxp/.../using/productdoc/en/ntcmds_shelloverview.asp

[[Cmd.exe and Other Command Prompts
Cmd.exe, the application whose name is Command Prompt, is only
one of
several forms of command prompts available in Windows XP.
Others include the
Run command on the Start menu, the Address toolbar, the Address
bar in
Windows Explorer, and the Address bar in Microsoft Internet
Explorer. In
many ways, these command prompts function alike. You can start
a
Windows-based application from any of them, for example. (If
you start from
Internet Explorer, you need to include an explicit path
specification, or
Internet Explorer will try to find a URL that matches your
command string.)
What’s exceptional about Cmd.exe is that it allows you to
execute internal
MS-DOS commands (that is, commands that are not stored in
discrete .exe
files).]]
from...
Working with the Command Prompt From Microsoft Windows XP
Inside Out Deluxe,
Second Edition eBook
Copyright © 2005 by Ed Bott, Carl Siechert, and Craig Stinson

The Command Line in Windows XP Start-Run Line
http://commandwindows.com/runline.htm

There is no list in one place. But here are 156...

156 Useful Run Commands
http://www.fixmyxp.com/content/view/20/42/

BTW, that was the first hit on a Google search on run commands.
Keep in
mind that a good share of those are listed in
C:\WINDOWS\Help\ntcmds.chm::/ntcmds.htm that I mentioned in my
first post.

Start | Run | Copy and paste the following line:

hh ntcmds.chm::/ntcmds.htm

Click OK.

Now that hh is a useful command, isn't it?

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).

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.

Type hcp:// followed by the path and file name in the Address
box of
Microsoft Internet Explorer and then click Open.

What is the Help and Support Center?
Help and Support Center (HSC) is a feature in Windows that
provides help on
a variety of topics. For instance, HSC enables users to learn
about Windows
features, download and install software updates, determine
whether a
particular hardware device is compatible with Windows, get
assistance from
Microsoft, and so forth.

Users and programs can execute URL links to Help and Support
Center by using
the "hcp://" prefix in a URL link instead of "http://".

What is the HCP protocol?
Similar to the HTTP protocol which is used to execute URL links
to open a
web browser, the HCP protocol can be used to execute URL links
to open the
Help and Support Center feature.

In Start | Run or the Address box of Internet Explorer.

Some of the commands below may not work.

Hcp commands:
hcp://system/HomePage.htm
hcp://system/sysinfo/sysInfoLaunch.htm
hcp://system/netdiag/dglogs.htm
hcp://system/compatctr/compatmode.htm
hcp://help/tshoot/tsmodem.htm
hcp://help/tshoot/tsprint.htm
hcp://help/tshoot/tssound.htm
hcp://help/tshoot/tsics.htm
hcp://help/tshoot/ts_dvd.htm
hcp://help/tshoot/tsdisp.htm
hcp://help/tshoot00/w0safemode.htm
Start | run | Helpctr
hcp://system/panels/AdvSearch.htm
hcp://system/sysinfo/RSoP.htm
hcp://system/sysinfo/sysConfigLaunch.htm
hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=
US/Remote%20Assis­tance/Escalation/Unsolicited/unsolicitedrcui.htm
"remote
Assistance"
hcp://system/sysinfo/sysConfigLaunch.htm

Introduction to the Windows Command Prompt
http://www.bleepingcomputer.com/tutorials/tutorial76.html

DOS is Dead, Long Live the Command Line
http://vlaurie.com/computers2/Articles/command.htm

Frequently Asked Questions Regarding The Windows 2000 Command
Processor
http://www.microsoft.com/technet/prodtechnol/Windows2000serv/support/FAQW2KCP.mspx

Information about command and CMD commands
http://www.computerhope.com/cmd.htm

The Command Line in Windows XP commands that everybody can use
http://commandwindows.com/command2.htm

The Windows NT Command Shell
By Tim Hill
Chapter 2 from Windows NT Shell Scripting, published by
MacMillan Technical
Publishing
http://www.microsoft.com/technet/prodtechnol/winntas/deploy/shellscr.mspx

Undocumented Command Prompt Tips
http://www.windowsitpro.com/Windows/Article/ArticleID/3678/3678.html

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Spike9458 said:
Where can I find the list of commands that can be run on
start/run command
line? My memory isn't all that great, and I know there are
some useful
things such as msconfig, regedit, control userpasswords, or
something like
that. Is there such a list?

Thanks,

--Jim
 
L

l

I'll be looking forward to your web page...I would have thought you already
had one.


Wesley Vogel said:
I just copied it from two other posts that I had made. I decided to keep a
copy around. ;-) Be easier if I had a web page.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
POP said:
Holy smoke, Wesley! You went above and beyond the call of duty
on that one!

Seriously, thank you for your work and time in putting that
together, whether it's partly boilerplate or not - I know several
people, myself included who can use that info. It's a keeper,
for sure.

Regards,

Pop`



Wesley Vogel said:
To start a program by using the Run command
1. Click Start and then click Run.
2. In Open, type the path to the item you want to open, or
click Browse to
locate it.

Notes
* The Open box lists items you have opened recently. Type or
select an item
in the list, and then click OK to open it.
* You can open a file or folder or connect to a shared computer
by typing
its path in the Open box. You can also connect to an Internet
or intranet
site; for example, to reach the Microsoft Web site, type
www.microsoft.com in the Open box. ]]
From...
To start a program by using the Run command
Start | Run | Paste...
hh taskbar.chm::/win_tray_start_programs_runcommand.htm

Open a command prompt, type: help and hit Enter.

Command-line reference

Start | Run | Copy and paste the following line:

hh ntcmds.chm

Click OK.

Double click on the closed book icon.

Command-line reference A-Z

Start | Run | Copy and paste the following line:

hh ntcmds.chm::/ntcmds.htm

Click OK.

Here's some more.

Start | Run | Type: . | Click OK opens %userprofile%

Start | Run | Type: .. | Click OK opens C:\Documents and
Settings

Start | Run | Type: ... | Click OK opens My Computer

Start | Run | Type: \ | Click OK opens C:\, the root
folder

Description of Control Panel Files in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;313808

Description of Control Panel (.cpl) Files
http://support.microsoft.com/default.aspx?scid=kb;EN-US;149648

How to Open Control Panel Folders from the Command Prompt
http://support.microsoft.com/default.aspx?scid=kb;EN-US;180025

How to run Control Panel tools by typing a command
http://support.microsoft.com/default.aspx?scid=kb;en-us;192806

You do not need to open a command prompt, just the Run box.

Open Control Panel...
Start | Run | control | Click OK

Open Folder Options...
Start | Run | control folders | Click OK

Some will open without using control (quicker to type).
i.e. Start | Run | sysdm.cpl | Click OK
-----

Here are a few...

control admintools Administrative Tools
control appwiz.cpl,,2 Add or Remove Programs/Add or Remove
Windows
Components
Control color Display Properties @Screen Saver
tab
control date/time Date and Time Properties
control desktop Display Properties
control folders Folder Options
control fonts Fonts Folder
control international Regional and Language Options
control keyboard Keyboard Control Panel
control main.cpl @X Mouse Control Panel
control main.cpl @1 Keyboard Control Panel
control mouse Mouse Control Panel
Control netconnections Network Connections
control printers Printers Folder
control schedtasks Add Scheduled Task
control Sysdm.cpl System Properties @General tab
control Sysdm.cpl,System,1 System Properties @Computer Name
tab
control Sysdm.cpl,System,2 System Properties @Hardware tab
control Sysdm.cpl,System,3 System Properties @Advanced tab
control Sysdm.cpl,System,4 System Properties @System
Restore tab
control Sysdm.cpl,System,5 System Properties @Automatic
Updates tab
control Sysdm.cpl,System,6 System Properties @Remote tab
control userpasswords User Accounts (Home version)
control userpasswords2 User Accounts (Pro version)
-----

Printers & Faxes for some reason doesn't have a *.cpl file.
Neither do Administrative Tools, Fonts, Scanners and Cameras,
Scheduled
Tasks or Taskbar and Start Menu.

They are Namespace objects.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{2227A280-3AEA-1069-A2DE­-08002B30309D}
opens Printers and Faxes

Start | Run | fonts | Click OK will open the Fonts folder.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD­-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524152}
opens the Fonts folder

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87­-00AA0060F5BF}
will open Scheduled Tasks
-----

*.cpl files are Control Panel extensions, they show up in the
Control Panel.

You may not have all of these and you may have some not listed
here. This
is a list from my machine.

To open any *.cpl file, type the name in the Run box.
I.e. Start | Run | Type: desk.cpl | Click OK

Control Panel cpl's:

access.cpl = Accessibility Options
appwiz.cpl = Add or Remove Programs
desk.cpl = Desktop Control Panel = Display Properties
hdwwiz.cpl = Add Hardware Control Panel Applet
inetcpl.cpl = Internet Control Panel = Internet Properties
intl.cpl = Regional and Language Options
irprops.cpl = Wireless Link Control Panel Applet
joy.cpl = Game Controllers
jpicpl32.cpl = JavaPlugin
main.cpl = Mouse Properties
mmsys.cpl = Sounds and Audio Device Properties
ncpa.cpl = Network Connections Control-Panel Stub
nusrmgr.cpl = Windows User Manager = Users Accounts
nvtuicpl.cpl = NVIDIA nView Control Panel, Version 52.16
nwc.cpl = Client Service for NetWare Applet
odbccp32.cpl = Microsoft Data Access - ODBC Control Panel
plotman.cpl = Autodesk Hardcopy Plotter Manager
powercfg.cpl = Power Management Configuration Control Panel
Applet or Power
Options Properties
SanCpl.cpl = SiSoftware Sandra™ English Control Panel Extension
(Win32
x86)(NT)(ANSI)
sapi.cpl = SAPI 5 = Speech Properties
styleman.cpl = Autodesk Hardcopy Plot Style Manager
sysdm.cpl = System Properties
telephon.cpl = Telephony Control Panel
timedate.cpl = Time Date Properties
wuaucpl.cpl = Automatic Updates Control Panel (Added by SP2??)
Wscui.cpl = SP2 Security Center (SP2)

[[The command shell is a separate software program that
provides direct
communication between the user and the operating system. The
non-graphical
command shell user interface provides the environment in which
you run
character-based applications and utilities. The command shell
executes
programs and displays their output on the screen by using
individual
characters similar to the MS-DOS command interpreter
Command.com. The
Windows XP command shell uses the command interpreter Cmd.exe,
which loads
applications and directs the flow of information between
applications, to
translate user input into a form that the operating system
understands.]]
Command shell overview
http://www.microsoft.com/windowsxp/.../using/productdoc/en/ntcmds_shelloverview.asp

[[Cmd.exe and Other Command Prompts
Cmd.exe, the application whose name is Command Prompt, is only
one of
several forms of command prompts available in Windows XP.
Others include the
Run command on the Start menu, the Address toolbar, the Address
bar in
Windows Explorer, and the Address bar in Microsoft Internet
Explorer. In
many ways, these command prompts function alike. You can start
a
Windows-based application from any of them, for example. (If
you start from
Internet Explorer, you need to include an explicit path
specification, or
Internet Explorer will try to find a URL that matches your
command string.)
What’s exceptional about Cmd.exe is that it allows you to
execute internal
MS-DOS commands (that is, commands that are not stored in
discrete .exe
files).]]
from...
Working with the Command Prompt From Microsoft Windows XP
Inside Out Deluxe,
Second Edition eBook
Copyright © 2005 by Ed Bott, Carl Siechert, and Craig Stinson

The Command Line in Windows XP Start-Run Line
http://commandwindows.com/runline.htm

There is no list in one place. But here are 156...

156 Useful Run Commands
http://www.fixmyxp.com/content/view/20/42/

BTW, that was the first hit on a Google search on run commands.
Keep in
mind that a good share of those are listed in
C:\WINDOWS\Help\ntcmds.chm::/ntcmds.htm that I mentioned in my
first post.

Start | Run | Copy and paste the following line:

hh ntcmds.chm::/ntcmds.htm

Click OK.

Now that hh is a useful command, isn't it?

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).

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.

Type hcp:// followed by the path and file name in the Address
box of
Microsoft Internet Explorer and then click Open.

What is the Help and Support Center?
Help and Support Center (HSC) is a feature in Windows that
provides help on
a variety of topics. For instance, HSC enables users to learn
about Windows
features, download and install software updates, determine
whether a
particular hardware device is compatible with Windows, get
assistance from
Microsoft, and so forth.

Users and programs can execute URL links to Help and Support
Center by using
the "hcp://" prefix in a URL link instead of "http://".

What is the HCP protocol?
Similar to the HTTP protocol which is used to execute URL links
to open a
web browser, the HCP protocol can be used to execute URL links
to open the
Help and Support Center feature.

In Start | Run or the Address box of Internet Explorer.

Some of the commands below may not work.

Hcp commands:
hcp://system/HomePage.htm
hcp://system/sysinfo/sysInfoLaunch.htm
hcp://system/netdiag/dglogs.htm
hcp://system/compatctr/compatmode.htm
hcp://help/tshoot/tsmodem.htm
hcp://help/tshoot/tsprint.htm
hcp://help/tshoot/tssound.htm
hcp://help/tshoot/tsics.htm
hcp://help/tshoot/ts_dvd.htm
hcp://help/tshoot/tsdisp.htm
hcp://help/tshoot00/w0safemode.htm
Start | run | Helpctr
hcp://system/panels/AdvSearch.htm
hcp://system/sysinfo/RSoP.htm
hcp://system/sysinfo/sysConfigLaunch.htm
hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=
US/Remote%20Assis­tance/Escalation/Unsolicited/unsolicitedrcui.htm
"remote
Assistance"
hcp://system/sysinfo/sysConfigLaunch.htm

Introduction to the Windows Command Prompt
http://www.bleepingcomputer.com/tutorials/tutorial76.html

DOS is Dead, Long Live the Command Line
http://vlaurie.com/computers2/Articles/command.htm

Frequently Asked Questions Regarding The Windows 2000 Command
Processor
http://www.microsoft.com/technet/prodtechnol/Windows2000serv/support/FAQW2KCP.mspx

Information about command and CMD commands
http://www.computerhope.com/cmd.htm

The Command Line in Windows XP commands that everybody can use
http://commandwindows.com/command2.htm

The Windows NT Command Shell
By Tim Hill
Chapter 2 from Windows NT Shell Scripting, published by
MacMillan Technical
Publishing
http://www.microsoft.com/technet/prodtechnol/winntas/deploy/shellscr.mspx

Undocumented Command Prompt Tips
http://www.windowsitpro.com/Windows/Article/ArticleID/3678/3678.html

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In Spike9458 <[email protected]> hunted and pecked:
Where can I find the list of commands that can be run on
start/run command
line? My memory isn't all that great, and I know there are
some useful
things such as msconfig, regedit, control userpasswords, or
something like
that. Is there such a list?

Thanks,

--Jim
 
W

Wesley Vogel

Jeepers. Then I'd be spending all my time figuring out how you do that.
;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
l said:
I'll be looking forward to your web page...I would have thought you
already had one.


Wesley Vogel said:
I just copied it from two other posts that I had made. I decided to
keep a copy around. ;-) Be easier if I had a web page.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
POP said:
Holy smoke, Wesley! You went above and beyond the call of duty
on that one!

Seriously, thank you for your work and time in putting that
together, whether it's partly boilerplate or not - I know several
people, myself included who can use that info. It's a keeper,
for sure.

Regards,

Pop`



To start a program by using the Run command
1. Click Start and then click Run.
2. In Open, type the path to the item you want to open, or
click Browse to
locate it.

Notes
* The Open box lists items you have opened recently. Type or
select an item
in the list, and then click OK to open it.
* You can open a file or folder or connect to a shared computer
by typing
its path in the Open box. You can also connect to an Internet
or intranet
site; for example, to reach the Microsoft Web site, type
www.microsoft.com in the Open box. ]]
From...
To start a program by using the Run command
Start | Run | Paste...
hh taskbar.chm::/win_tray_start_programs_runcommand.htm

Open a command prompt, type: help and hit Enter.

Command-line reference

Start | Run | Copy and paste the following line:

hh ntcmds.chm

Click OK.

Double click on the closed book icon.

Command-line reference A-Z

Start | Run | Copy and paste the following line:

hh ntcmds.chm::/ntcmds.htm

Click OK.

Here's some more.

Start | Run | Type: . | Click OK opens %userprofile%

Start | Run | Type: .. | Click OK opens C:\Documents and
Settings

Start | Run | Type: ... | Click OK opens My Computer

Start | Run | Type: \ | Click OK opens C:\, the root
folder

Description of Control Panel Files in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;313808

Description of Control Panel (.cpl) Files
http://support.microsoft.com/default.aspx?scid=kb;EN-US;149648

How to Open Control Panel Folders from the Command Prompt
http://support.microsoft.com/default.aspx?scid=kb;EN-US;180025

How to run Control Panel tools by typing a command
http://support.microsoft.com/default.aspx?scid=kb;en-us;192806

You do not need to open a command prompt, just the Run box.

Open Control Panel...
Start | Run | control | Click OK

Open Folder Options...
Start | Run | control folders | Click OK

Some will open without using control (quicker to type).
i.e. Start | Run | sysdm.cpl | Click OK
-----

Here are a few...

control admintools Administrative Tools
control appwiz.cpl,,2 Add or Remove Programs/Add or Remove
Windows
Components
Control color Display Properties @Screen Saver
tab
control date/time Date and Time Properties
control desktop Display Properties
control folders Folder Options
control fonts Fonts Folder
control international Regional and Language Options
control keyboard Keyboard Control Panel
control main.cpl @X Mouse Control Panel
control main.cpl @1 Keyboard Control Panel
control mouse Mouse Control Panel
Control netconnections Network Connections
control printers Printers Folder
control schedtasks Add Scheduled Task
control Sysdm.cpl System Properties @General tab
control Sysdm.cpl,System,1 System Properties @Computer Name
tab
control Sysdm.cpl,System,2 System Properties @Hardware tab
control Sysdm.cpl,System,3 System Properties @Advanced tab
control Sysdm.cpl,System,4 System Properties @System
Restore tab
control Sysdm.cpl,System,5 System Properties @Automatic
Updates tab
control Sysdm.cpl,System,6 System Properties @Remote tab
control userpasswords User Accounts (Home version)
control userpasswords2 User Accounts (Pro version)
-----

Printers & Faxes for some reason doesn't have a *.cpl file.
Neither do Administrative Tools, Fonts, Scanners and Cameras,
Scheduled
Tasks or Taskbar and Start Menu.

They are Namespace objects.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{2227A280-3AEA-1069-A2DE­-08002B30309D}
opens Printers and Faxes

Start | Run | fonts | Click OK will open the Fonts folder.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD­-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524152}
opens the Fonts folder

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87­-00AA0060F5BF}
will open Scheduled Tasks
-----

*.cpl files are Control Panel extensions, they show up in the
Control Panel.

You may not have all of these and you may have some not listed
here. This
is a list from my machine.

To open any *.cpl file, type the name in the Run box.
I.e. Start | Run | Type: desk.cpl | Click OK

Control Panel cpl's:

access.cpl = Accessibility Options
appwiz.cpl = Add or Remove Programs
desk.cpl = Desktop Control Panel = Display Properties
hdwwiz.cpl = Add Hardware Control Panel Applet
inetcpl.cpl = Internet Control Panel = Internet Properties
intl.cpl = Regional and Language Options
irprops.cpl = Wireless Link Control Panel Applet
joy.cpl = Game Controllers
jpicpl32.cpl = JavaPlugin
main.cpl = Mouse Properties
mmsys.cpl = Sounds and Audio Device Properties
ncpa.cpl = Network Connections Control-Panel Stub
nusrmgr.cpl = Windows User Manager = Users Accounts
nvtuicpl.cpl = NVIDIA nView Control Panel, Version 52.16
nwc.cpl = Client Service for NetWare Applet
odbccp32.cpl = Microsoft Data Access - ODBC Control Panel
plotman.cpl = Autodesk Hardcopy Plotter Manager
powercfg.cpl = Power Management Configuration Control Panel
Applet or Power
Options Properties
SanCpl.cpl = SiSoftware Sandra™ English Control Panel Extension
(Win32
x86)(NT)(ANSI)
sapi.cpl = SAPI 5 = Speech Properties
styleman.cpl = Autodesk Hardcopy Plot Style Manager
sysdm.cpl = System Properties
telephon.cpl = Telephony Control Panel
timedate.cpl = Time Date Properties
wuaucpl.cpl = Automatic Updates Control Panel (Added by SP2??)
Wscui.cpl = SP2 Security Center (SP2)

[[The command shell is a separate software program that
provides direct
communication between the user and the operating system. The
non-graphical
command shell user interface provides the environment in which
you run
character-based applications and utilities. The command shell
executes
programs and displays their output on the screen by using
individual
characters similar to the MS-DOS command interpreter
Command.com. The
Windows XP command shell uses the command interpreter Cmd.exe,
which loads
applications and directs the flow of information between
applications, to
translate user input into a form that the operating system
understands.]]
Command shell overview
http://www.microsoft.com/windowsxp/.../using/productdoc/en/ntcmds_shelloverview.asp
[[Cmd.exe and Other Command Prompts
Cmd.exe, the application whose name is Command Prompt, is only
one of
several forms of command prompts available in Windows XP.
Others include the
Run command on the Start menu, the Address toolbar, the Address
bar in
Windows Explorer, and the Address bar in Microsoft Internet
Explorer. In
many ways, these command prompts function alike. You can start
a
Windows-based application from any of them, for example. (If
you start from
Internet Explorer, you need to include an explicit path
specification, or
Internet Explorer will try to find a URL that matches your
command string.)
What’s exceptional about Cmd.exe is that it allows you to
execute internal
MS-DOS commands (that is, commands that are not stored in
discrete .exe
files).]]
from...
Working with the Command Prompt From Microsoft Windows XP
Inside Out Deluxe,
Second Edition eBook
Copyright © 2005 by Ed Bott, Carl Siechert, and Craig Stinson

The Command Line in Windows XP Start-Run Line
http://commandwindows.com/runline.htm

There is no list in one place. But here are 156...

156 Useful Run Commands
http://www.fixmyxp.com/content/view/20/42/

BTW, that was the first hit on a Google search on run commands.
Keep in
mind that a good share of those are listed in
C:\WINDOWS\Help\ntcmds.chm::/ntcmds.htm that I mentioned in my
first post.

Start | Run | Copy and paste the following line:

hh ntcmds.chm::/ntcmds.htm

Click OK.

Now that hh is a useful command, isn't it?

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).

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.

Type hcp:// followed by the path and file name in the Address
box of
Microsoft Internet Explorer and then click Open.

What is the Help and Support Center?
Help and Support Center (HSC) is a feature in Windows that
provides help on
a variety of topics. For instance, HSC enables users to learn
about Windows
features, download and install software updates, determine
whether a
particular hardware device is compatible with Windows, get
assistance from
Microsoft, and so forth.

Users and programs can execute URL links to Help and Support
Center by using
the "hcp://" prefix in a URL link instead of "http://".

What is the HCP protocol?
Similar to the HTTP protocol which is used to execute URL links
to open a
web browser, the HCP protocol can be used to execute URL links
to open the
Help and Support Center feature.

In Start | Run or the Address box of Internet Explorer.

Some of the commands below may not work.

Hcp commands:
hcp://system/HomePage.htm
hcp://system/sysinfo/sysInfoLaunch.htm
hcp://system/netdiag/dglogs.htm
hcp://system/compatctr/compatmode.htm
hcp://help/tshoot/tsmodem.htm
hcp://help/tshoot/tsprint.htm
hcp://help/tshoot/tssound.htm
hcp://help/tshoot/tsics.htm
hcp://help/tshoot/ts_dvd.htm
hcp://help/tshoot/tsdisp.htm
hcp://help/tshoot00/w0safemode.htm
Start | run | Helpctr
hcp://system/panels/AdvSearch.htm
hcp://system/sysinfo/RSoP.htm
hcp://system/sysinfo/sysConfigLaunch.htm
hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=
US/Remote%20Assis­tance/Escalation/Unsolicited/unsolicitedrcui.htm
"remote
Assistance"
hcp://system/sysinfo/sysConfigLaunch.htm

Introduction to the Windows Command Prompt
http://www.bleepingcomputer.com/tutorials/tutorial76.html

DOS is Dead, Long Live the Command Line
http://vlaurie.com/computers2/Articles/command.htm

Frequently Asked Questions Regarding The Windows 2000 Command
Processor
http://www.microsoft.com/technet/prodtechnol/Windows2000serv/support/FAQW2KCP.mspx
Information about command and CMD commands
http://www.computerhope.com/cmd.htm

The Command Line in Windows XP commands that everybody can use
http://commandwindows.com/command2.htm

The Windows NT Command Shell
By Tim Hill
Chapter 2 from Windows NT Shell Scripting, published by
MacMillan Technical
Publishing
http://www.microsoft.com/technet/prodtechnol/winntas/deploy/shellscr.mspx

Undocumented Command Prompt Tips
http://www.windowsitpro.com/Windows/Article/ArticleID/3678/3678.html

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In Spike9458 <[email protected]> hunted and pecked:
Where can I find the list of commands that can be run on
start/run command
line? My memory isn't all that great, and I know there are
some useful
things such as msconfig, regedit, control userpasswords, or
something like
that. Is there such a list?

Thanks,

--Jim
 

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

Similar Threads

Listing of XP tools commands 7
Run mystery 5
run commands 10
Startup & Services Questions 8
Blank line in msconfig 5
RegKeyFixer 11
Is there a stop command? 9
Windows XP utilities??? 3

Top