Command-line reference A-Z

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Command-line reference A-Z

To find information about a command, on the A-Z menu, click the letter that the command starts with, and then click the command name.

In addition to the tools installed with the Windows Server 2003 family there are over 40 support tools that you can install directly from the product CD. You can use these tools to diagnose and resolve computer problems. For more information about these support tools and how to install them, see Install Windows Support Tools.

For more information about changes to the functionality of MS-DOS commands, new command-line tools, command shell functionality, configuring the command prompt, and automating command-line tasks, see Command-line reference.

You must run command-line tools at the prompt of the Cmd.exe command interpreter. To open Command Prompt, click Start, click Run, type cmd, and then click OK. To view help at the command line, at the command prompt, type:

CommandName /?

As a security best practice, consider using an account without administrative credentials to perform routine, nonadministrative tasks. To perform only specific tasks with an account with administrative credentials, you can use the Runas command.

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

A

Adprep

Arp

Assoc

At

Atmadm

Attrib

B

Using batch files

Bootcfg

Break

C

Cacls

Call

Certreq

Certutil

Terminal Services change commands

Chcp

chdir

chkdsk

Chkntfs

Choice

Cipher

Clip

Cls

Cluadmin

Cluster

Cmd

Cmdkey

Cmstp

Color

Command shell overview

Comp

Compact

Convert

Copy

Cprofile

CScript

CSVDE

D

Date

Dcgpofix

Defrag

Del (erase)

Dfscmd

Dir

Directory service command-line tools

Diskcomp

Diskcopy

DiskPart

Doskey

Driverquery

Dsadd

Dsget

Dsmod

Dsmove

Dsquery

Dsrm

E

Echo

Endlocal

Eventcreate

Eventquery.vbs

Eventtriggers

Evntcmd

Exit

Expand

F

Fc

Using filters

Find

Findstr

Finger

Flattemp

For

Forfiles

Format

Freedisk

Fsutil

Ftp

Ftp subcommands

Ftype

G

Getmac

Gettype

Goto

Gpresult

Gpupdate

Graftabl

H

Help

Helpctr

Hostname

I

If

Iisapp.vbs: IIS application query script

Iisback.vbs: IIS backup management script

Iiscnfg.vbs: IIS configuration script

Iisext.vbs: IIS Web service extension script

Iisftp.vbs: IIS FTP site management script

IISFtpdr.vbs: IIS FTP directory script

Iisreset

Iisvdir.vbs: IIS virtual directory script

Iisweb.vbs: IIS Web site management script

Inuse

Ipconfig

Ipxroute

Irftp

L

Label

LDIFDE

Lodctr

Logman

Lpq

Lpr

M

Macfile

Md

Mkdir

Mmc

Mode

More

Mountvol

Move

Using the IP multicasting utilities

MS-DOSsubsystem commands

Msiexec (command-line options)

Msinfo32

N

Nbtstat

Net services overview

Net services commands

Netsh overview

Netsh commands for AAAA

Netsh commands for DHCP

Netsh diagnostic (diag) commands

Netsh commands for Interface IP

Netsh commands for Interface IPv6

Netsh commands for Interface Portproxy

Netsh commands for Internet Protocol security

Netsh commands for Network Bridge

Netsh commands for remote access (ras)

Netsh commands for Routing

Netsh commands for RPC

Netsh commands for WINS

Netstat

Nlb

Nlbmgr

Nslookup

Nslookup subcommands

Ntbackup

Ntcmdprompt

Ntdsutil

Ntsd

O

Openfiles

P

Pagefileconfig.vbs

Path

Pathping

Pause

Pbadmin

Pentnt

Perfmon

Ping

Popd

Powercfg

Print

Prncnfg.vbs

Prndrvr.vbs

Prnjobs.vbs

Prnmngr.vbs

Prnport.vbs

Prnqctl.vbs

Prompt

Pushd

Q

Terminal Services query commands

R

Rasdial

Rcp

Rd

Recover

Using command redirection operators

Reg

Regsvr32

Relog

Rem

Rename (ren)

Replace

Reset session

Rexec

Risetup

Rmdir

Route

Rsh

Rsm

Rss

Runas

S

SC

Schtasks

Secedit

Services for Macintosh commands

Set

Setlocal

Setx

Shift

Shutdown

Sort

Start

Subst

Sysocmgr

Systeminfo

System File Checker (sfc)

T

Takeown

Tapicfg

Taskkill

Tasklist

Tcmsetup

TCP/IP utilities and services

Telnet Command-line Reference for Telnet Server

Terminal Services commands

Tftp

Time

Timeout

Title

Tracerpt

Tracert

Tree

Tsecimp

Type

Typeperf

U

Unlodctr

V

Ver

Verify

Vol

Vssadmin

W

W32tm

waitfor

Where

Whoami

Winnt

Winnt32

Winpop

Wlbs

Windows Management Instrumentation Command-line (WMIC) tool

WScript

X

Xcopy