Windows Command Reference

[Pages:42]ACphpaepntde irx

B1

Windows Command Reference

Programs Provided with Windows

This appendix lists all the programs installed by Windows Setup on the 32-bit versions of Windows 2000 Professional, Windows XP (Home Edition, Professional, and Media Center Edition), and Windows Vista (Home Basic, Home Premium, Business, Enterprise, and Ultimate), with all optional components installed. It also lists some programs installed by Windows Update and Automatic Updates.

The purpose of this appendix is to help you identify programs that you find running in your Task Manager window, and to let you browse for interesting standard programs that you might not be aware of. The programs fall into several categories:

Graphical User Interface (GUI) programs, such as Notepad and Internet Explorer. GUI programs are delivered as executable files with an .EXE filename extension.

Command-line (console) utilities such as ping and dir. Most command-line programs are delivered as executable (.EXE and .COM) files, with the exception of a few script files (.VBS and .JS), and some "built-in" commands that are handled directly by the command prompt processor cmd.exe or .

Control Panel applets, screensavers, and Microsoft Management Console (MMC) snapins. The files have corresponding filename extensions: .SCR for screensavers, .MSC for MMC snap-ins, and .CPL for Control Panel applets.

Components such as device drivers, Windows services, and programs used solely as "helper" components of other programs. These programs may have a filename extension that makes them look like standard programs, but they are not useful on their own.

This appendix does not list the optional programs installed from the \TOOLS folder on the Windows Setup CD-ROM or DVD, although it does lists a few subcomponents of these tools that end up under your \windows folder. The tools themselves are listed in Appendix A, "Windows Tool Reference."

B2

Appendix B Windows Command Reference

Running Applications and Components

Applications can be started in the following ways:

GUI and command-line programs can be run from shortcuts, from Windows Explorer, or, if they are in a folder listed in the PATH environment variable, by typing their name in the Start Menu's Run dialog, or at the prompt in a Command Prompt window. On Windows Vista, you can also type a command name into the Start Menu's search box, and in most cases, Windows will locate and run the program.

Script files can be run by name, or can be forced to run in GUI or command-line mode with the wscript or cscript commands, respectively. For more information on scripting, see Chapter 9, "Windows Commands and Scripting."

MMC snap-ins can be run using the start command, for example start compmgmt.msc

or by installing them into an MMC panel. On Windows XP and 2000, you can run an MMC snap-in with Administrator privileges by typing the command

runas /user:Administrator "cmd /c xxxx.msc"

On Windows Vista, you don't need to use runas, as the User Account Control prompt will appear if the snap-in requires administrative privileges. You just can type the snap-in's filename into the Start menu's search box. Control Panel applets can be run from the Control Panel or from the command line, as in this example:

control timedate.cpl

On Windows 2000 and XP, you can run a Control Panel applet with Administrator privileges by typing the command

runas /user:Administrator "control xxxx.cpl"

Again, on Vista, runas is not needed.

This technique does not work with ncpa.cpl, however, unless you have previously configured Windows Explorer to launch folder windows in separate processes, by checking this option in the Tools, Folder Options, View tab. If you are using runas, the option has to have been set while logged on to the account that you specify in the runas command.

x.scr /s

Device drivers and services cannot be run directly, but are managed by tools such as the Services MMC snap-in (services.msc) or the net start command-line utility. Some Windows services are packaged as .DLL files and are executed by the svchost.exe program. Services are discussed in Chapter 4.

Command-Line Syntax

To use a command-line utility, you have to know its particular command-line syntax; that is, you have to know how to add options, filenames, and other control information to the command line. To get help for a given command--let's call it xxx--there are four things to try, in this order:

Search for xxx in the Windows Help and Support Center. Type xxx -? | more in a command prompt window.

Programs Provided with Windows Appendix B

B3

Type help xxx | more in a command prompt window. Perform a Google search for Windows command xxx.

Note

The more command is used to keep text from scrolling out of view if there's more than one screen. If some text is displayed and then the printout stops, press the spacebar to display the next screen.

There's no way to tell beforehand which one or more of these methods will work, so you should try all four. For more information on using command-line programs, see Chapter 9.

NOTE

On Windows Vista, most of the information for command line programs has been deleted from the Help and Support Center. Your best bet on Vista is to use the -? and help options, or use Internet sources, as discussed in Chapter 9. Alternately, look up help information on a computer running XP.

Legend

In the tables that follow, the Filename column lists the names of program files installed in the various standard Windows folders. The filename's extension indicates the type of program file.

Extension Description

.BAT .CMD .COM .CPL .EXE .JS .MSC

.SCR .SYS .VBS .WSF

Batch file (a text file containing a sequence of commands) Batch file (alternate extension) MS-DOS executable program Control Panel applet (actually a dynamic link library loaded and used by control.exe) Windows GUI program, Windows command-line program, or MS-DOS program JavaScript script (a text file containing a program written in the JavaScript language) MMC snap-in (actually a dynamic link library or XML file meant to be loaded and used by mmc.exe) Screensaver (actually a standard Windows executable file) MS-DOS device driver VBScript script (a text file containing a program written in the VBScript language) Windows Script Host packaged script

The OS column indicates the operating system(s) with which the program comes.

OS Operating System Versions

2

Windows 2000 Professional

X

Windows XP Home Edition, Professional, or Media Center Edition

V

Windows Vista Home Basic, Home Premium, Business, Enterprise, or Ultimate

Not every version of these operating systems includes all the listed files, and the tables list files included only with the 32-bit versions of the operating systems. For instance WFS.EXE, Windows

B4

Appendix B Windows Command Reference

Fax and Scan, is only found in the Ultimate, Enterprise, and Business editions of Vista. In addition, some files are installed only if you install optional Windows components ("Turn Windows Features On or Off" on Vista).

The Type column indicates the general category into which the program falls.

Type

Description

Directly Executable by the User?

CMD DOS drv GUI ndu SCR

svc UNIX

Command-line (console) program

Yes

MS-DOS application or driver

Yes

Windows device driver

No

Graphical User Interface (windowed) application

Yes

Not directly usable, meant to assist some other application

No

Batch file, or script handled by Windows Script Host

Yes

(cscript or wscript)

Windows service (Services are discussed in Chapter 4)

No

Services for UNIX-Based Applications application

Yes

In the Description column, Source indicates the source of a program if it is not installed by Windows Setup. Some programs can have several alternative sources. For example, the .NET Framework may be installed by a Service Pack, Windows Update, a download from , or as part of a third-party application.

Filename

OS Type Description

ACW.exe accwiz.exe actmovie.exe AdapterTroubleshooter.exe admin.exe adsutil.vbs agentsvr.exe agtcore.js

agtscrp2.js agtscrpt.js

ahui.exe alg.exe

ansi.sys appcmd.exe append.exe AppLaunch.exe arcldr.exe

V

GUI Windows Guided Help

2X GUI Accessibility Wizard

2X ndu Direct Show setup tool

V

ndu Display troubleshooter

2X ndu FrontPage Server Extensions component

2XV SCR Manages IIS server through ADSI (sample script)

2XV ndu Microsoft Agent (animated assistant) component

X

ndu Component of "out-of-box" experience, initial

setup wizard

X

ndu Windows help script component

X

ndu Component of "out-of-box" experience, initial

setup wizard

X

ndu Application Compatibility Wizard component

XV svc

Application Layer Gateway Service--Provides support for third-party protocol plug-ins for ICS and ICF

2XV DOS ANSI screen driver for MS-DOS subsystem

V

CMD IIS Application Server admin tool

2XV DOS Makes directories appear "local" (archaic)

V

ndu Microsoft .NET ClickOnce launch utility

2

ndu Used by Windows boot process

Filename arcsetup.exe arp.exe arpidfix.exe aspnet_compiler.exe aspnet_regbrowsers.exe

aspnet_regiis.exe

aspnet_regsql.exe

aspnet_state.exe

aspnet_wp.exe

aspnetca.exe asr_fmt.exe asr_ldm.exe

asr_pfu.exe at.exe AtBroker.exe

atmadm.exe attrib.exe audioconverter.exe

audiodg.exe audit.exe auditpol.exe auditusr.exe author.exe

autochk.exe autoconv.exe

autoexec.bat autofmt.exe autolfn.exe AxInstUI.exe

Programs Provided with Windows Appendix B

B5

OS Type Description

2

ndu Used by Windows boot process

2XV CMD Displays and edits ARP cache (TCP/IP)

X

ndu Windows Update component

V

CMD application compiler

V

CMD Adds data on web browsers to data-

base

2XV CMD Used to maintain correct linkage between different installed versions of .NET Framework and applications installed under IIS (source: .NET Framework)

V

CMD Associates MS SQL Server databases with

applications

2XV svc

Holds session state data for web-based applications (source: .NET Framework)

2XV ndu

runtime process--CGI application that runs web-based applications on behalf of IIS (source: .NET Framework)

V

ndu setup component

X

CMD Automated System Recovery backup and restore

X

CMD Automated System Recovery Logical Disk man-

ager

X

ndu Automated System Recovery component

2XV CMD Schedules program to run automatically (obsolete)

V

ndu Supports Accessibility tools across Remote

Desktop sessions

2X CMD Displays ATM Call Manager statistics

2XV CMD Displays and sets file/folder attributes

X

GUI Windows Audio Converter, converts music files

between different encoding formats (source:

Standard on MCE, otherwise Plus! for Windows

XP)

V

ndu Windows Audio Device Graph Isolation

V

ndu Windows setup component

V

CMD Audit Policy configuration tool

X

CMD Manages per-user audit policy settings

2X ndu

FrontPage Server Extensions component (CGI application)

2XV ndu Checks and repairs Windows File Systems

2XV ndu

Automates the file system conversion during reboots

XV DOS Batch file executed upon Windows startup

2XV ndu Automates the file format process during reboots

2X ndu Used for formatting long filenames

V

ndu ActiveX Installer Service

(continues)

B6

Appendix B Windows Command Reference

Filename basename.exe basicfunctions.js bcdedit.exe bckgzm.exe bfsvc.exe BdeHdCfg.exe

BitLockerWizard.exe bitsadmin.exe

blastcln.exe

bootcfg.exe bootok.exe bootvrfy.exe bridgeunattend.exe bthudtask.exe cacls.exe cafixweb.exe

calc.exe calendar.js CaptureWizard.exe caspol.exe

cat.exe cat32.exe cb32.exe cbsra.exe cclitesetupui.exe cdlm.exe

cdplayer.exe CertEnrollCtrl.exe certreq.exe certutil.exe cfgwiz.exe

chaccess.vbs change.exe

OS Type Description

V

UNIX Strips paths from filename arguments

X

ndu Media Center Edition help component

V

CMD Windows boot configuration utility

X

GUI Internet Backgammon

V

GUI Boot File Servicing utility

V

CMD BitLocker Drive Preparation Tool (source:

Windows Ultimate Extras)

V

GUI BitLocker Drive Encryption Wizard

V

CMD BITS (Windows Update downloader) configura-

tion tool

X

CMD MSBLAST virus removal utility (installed by

Windows Update)

XV CMD Modifies the BOOT.INI configuration file

2X CMD Boot acceptance application for Registry

2X CMD Notifies the system that startup was successful

V

ndu Network bridging setup component

V

ndu Bluetooth Uninstall Device Task

2XV CMD Clears the command prompt window

2

ndu Service pack installation component, probably

targeted at Windows 2000 Server rather than

Pro

2XV GUI

V

ndu

V

ndu

Calculator accessory Sidebar gadget component Moviemaker import wizard

2XV CMD Code Access Security Policy tool; sets security policy for applications (assemblies) (source: .NET Framework)

V

UNIX Prints input files

V

UNIX Win32 version of cat utility

2X GUI NetMeeting component, invokes Chat window

V

ndu Windows Update component (source: Vista SP1)

V

GUI MSN Connection Center installer

X

GUI CD Label Maker (source: Standard on MCE, oth-

erwise Plus! for Windows XP)

2

GUI CD music player utility

V

ndu Certificate enrollment component

V

CMD Certificate request utility

V

CMD Certificate management tool

2X ndu

Front Page Server Extensions configuration component

2X SCR Changes access on website folders (ADSI)

XV ndu

Used on Windows Server only, terminal server management tool

Filename charmap.exe Chess.exe chglogon.exe

chgport.exe

chgrp.exe chgusr.exe

chkdsk.exe chkntfs.exe chkrzm.exe chmod.exe choice.exe

chown.exe cidaemon.exe cintsetp.exe

cipher.exe cisvc.exe

cjime.exe

ckcnv.exe

cleanmgr.exe cliconfg.exe clip.exe

clipbrd.exe clipsrv.exe

clock.js clrgc.exe clspack.exe clusftp.vbs cluster.exe clusweb.vbs

Programs Provided with Windows Appendix B

B7

OS Type Description

2XV GUI Character map

2XV CMD Changes console code page

V

GUI Chess Titans game

XV ndu Works on Windows Server only; terminal server management tool

XV ndu Works on Windows Server only; terminal server management tool

V

UNIX Changes file group membership

XV ndu Works on Windows server only; terminal server management tool

2XV CMD Checks and repairs file system integrity

2XV CMD Schedules automatic chkdsk at boot time

X

GUI Internet checkers game

V

UNIX Changes file permissions

V

CMD Batch file tool: prompts for a single-character

interactive response

V

UNIX Changes file ownership

2XV svc

Indexing service

2X ndu

Input Method Editor (for example, Asian language input system) setup component (source: Windows Update)

2XV CMD Encrypts and decrypts files and folders

2XV svc

2

ndu

2X ndu

Indexing Service--Indexes contents and properties of files on local and remote computers; provides rapid access to files through flexible querying language

Appears to be involved in installing or updating national language drivers

Cookie converter; Internet Explorer software update component (source: Windows Update)

2XV GUI Disk Cleanup program

2XV GUI SQL Server Client Network Utility

V

CMD Copies standard input to the clipboard (batch file

tool)

2X GUI Clipboard viewer--multiuser

2X svc

ClipBook Service, shares Clipboard across a network

V

ndu Sidebar gadget component

V

CMD .NET Framework utility

2

CMD Lists Java system packages

V

ndu IIS management script component

2

CMD Windows Cluster configuration tool

V

ndu IIS management script component

(continues)

B8

Appendix B Windows Command Reference

Filename cmd.exe

cmdkey.exe cmdl32.exe cmmgr32.exe cmmon32.exe cmstp.exe cofire.exe colorcpl.exe comclust.exe common.js

commonfunc.js comp.exe compact.exe CompMgmtLauncher.exe ComputerDefaults.exe

comrepl.exe

comrereg.exe

comsdupd.exe ComSvcConfig.exe

conf.exe configwizards.exe

conime.exe consent.exe constants.js contacts.js contftp.vbs control.exe controls.js contsrv.vbs contweb.vbs

OS Type Description

2XV CMD Command shell. Processes commands in batch files or typed into the Command Prompt window. This is the 32-bit Windows replacement for DOS's , and it is a significant improvement. See Chapter 9 for more information.

V

CMD Credential (stored password) management tool

2XV ndu Connection Manager Auto-Download

2

ndu Windows Connection Manager component

2XV ndu Connection Manager Monitor

2XV CMD Connection Manager profile installer

V

ndu Corrupted File Recovery component

V

GUI Color Management control panel

2

GUI Cluster configuration wizard for MS DTC

2XV DOS MS-DOS command shell

2X ndu

Component of several JS applications (source: Services for UNIX 3.5)

X

ndu Component of help center

2XV CMD Compares files

2XV CMD Enables and disables file and folder compression

V

GUI Opens the Computer Management MMC snap-in

V

GUI Set Program Access and Computer Defaults con-

trol panel

2XV CMD COMREPL replicates one computer's COM+ applications to one or more target computers

2X CMD Appears to repair COM object Registry database

X

ndu Service Pack update component

V

CMD Configures Windows Communication Foundation

integration with COM+ applications

2X GUI NetMeeting application

2X GUI Lets you adjust .NET security, select trusted assemblies, or repair a managed application (source: .NET Framework)

2XV GUI Input method editor

V

ndu User Account Control component

X

ndu Component of Remote Assistance

V

ndu Sidebar gadget component

2X SCR Restarts paused FTP server

2XV GUI Starts the Control Panel

X

ndu Component of Windows tour

2X SCR Restarts paused IIS server

2X SCR Restarts paused web server

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download