www.GetPedia.com
*More than 150,000 articles in the search database
*Learn how almost everything works
http://www.getpedia.com/http://www.getpedia.com
Microsoft Windows XP - Command-line reference A-Z
Windows XP Professional Product Documentation > Performance and maintenance
Command-line reference A-Z
To find information about a command, on the A-Z button menu at the top of this page, click the letter that the command starts with, and then click the command name.
In addition to the tools installed with Windows XP, there are over 40 support tools included on the Windows XP CD. You can use these tools to diagnose and resolve computer problems. For more information about these support tools, see Windows Support Tools For information about installing support tools, 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 commmand-line tasks, see Command-line reference
Some command-line tools require the user to have administrator-level privileges on source and/or target computers.
Command-line tools must be run 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 the following:
CommandName /?
AArp
Assoc
At
Atmadm
Attrib
Top of page
BBatch files
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?pf=true (1 of 11)5/22/2004 10:58:52 PM
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/default.mspxhttp://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/hs_performance_maintenance.mspxhttp://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/tools_overview.mspxhttp://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/tools_howto.mspxhttp://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/tools_howto.mspxhttp://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_o.mspx
Microsoft Windows XP - Command-line reference A-Z
Bootcfg
Break
Top of page
CCacls
Call
Change
Chcp
Chdir
Chkdsk
Chkntfs
Cipher
Cls
Cmd
Cmstp
Color
Command shell overview
Comp
Compact
Convert
Copy
Cprofile
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?pf=true (2 of 11)5/22/2004 10:58:52 PM
Microsoft Windows XP - Command-line reference A-Z
CScript overview
Top of page
DDate
Defrag
Del
Dir
Diskcomp
Diskcopy
DiskPart
Doskey
Driverquery
Top of page
EEcho
Endlocal
Eventcreate
Eventquery
Eventtriggers
Evntcmd
Exit
Expand
Top of page
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?pf=true (3 of 11)5/22/2004 10:58:52 PM
Microsoft Windows XP - Command-line reference A-Z
FFc
Filter commands
Find
Findstr
Finger
Flattemp
For
Format
Fsutil
Ftp
Ftp subcommands
Ftype
Top of page
GGetmac
Goto
Gpresult
Gpupdate
Graftabl
Top of page
HHelp
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?pf=true (4 of 11)5/22/2004 10:58:52 PM
Microsoft Windows XP - Command-line reference A-Z
Helpctr
Hostname
Top of page
IIf
Ipconfig
Ipseccmd
Ipxroute
Irftp
Top of page
LLabel
Lodctr
Logman
Lpq
Lpr
Top of page
MMacfile
Mkdir (md)
Mmc
Mode
More
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?pf=true (5 of 11)5/22/2004 10:58:52 PM
Microsoft Windows XP - Command-line reference A-Z
Mountvol
Move
MS-DOS subsystem configuration commands
Msiexec
Msinfo32
Top of page
NNbtstat
Net services overview
Net services commands
Netsh command overview
Netsh commands for AAAA
Netsh commands for DHCP
Netsh diagnostic (diag) commands
Netsh commands for Interface IP
Netsh commands for RAS
Netsh commands for Routing
Netsh commands for WINS
Netstat
Nslookup
Nslookup subcommands
Ntbackup
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?pf=true (6 of 11)5/22/2004 10:58:52 PM
Microsoft Windows XP - Command-line reference A-Z
Ntcmdprompt
Ntsd
Top of page
OOpenfiles
Top of page
PPagefileconfig
Path
Pathping
Pause
Pbadmin
Pentnt
Perfmon
Ping
Popd
Prncnfg
Prndrvr
Prnjobs
Prnmngr
Prnport
Prnqctl
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?pf=true (7 of 11)5/22/2004 10:58:52 PM
Microsoft Windows XP - Command-line reference A-Z
Prompt
Pushd
Top of page
QQuery
Top of page
RRasdial
Rcp
Recover
Redirection operators
Reg
Regsvr32
Relog
Rem
Rename
Replace
Reset session
Rexec
Rmdir
Route
Rsh
Rsm
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?pf=true (8 of 11)5/22/2004 10:58:52 PM
Microsoft Windows XP - Command-line reference A-Z
Runas
Top of page
SSc
Schtasks
Secedit
Set
Setlocal
Shift
Shutdown
Sort
Start
Subst
Systeminfo
System File Checker (sfc)
Top of page
TTaskkill
Tasklist
Tcmsetup
TCP/IP utilities and services
Telnet commands
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?pf=true (9 of 11)5/22/2004 10:58:52 PM
Microsoft Windows XP - Command-line reference A-Z
Terminal Services commands
Tftp
Time
Title
Tracerpt
Tracert
Tree
Type
Typeperf
Top of page
UUnlodctr
Top of page
VVer
Verify
Vol
Vssadmin
Top of page
WW32tm
Winnt
Winnt32
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?pf=true (10 of 11)5/22/2004 10:58:52 PM
Microsoft Windows XP - Command-line reference A-Z
WMIC overview
Top of page
XXcopy
Top of page
Manage Your Profile
2004 Microsoft Corporation. All rights reserved. Terms of Use | Privacy Statement
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?pf=true (11 of 11)5/22/2004 10:58:52 PM
http://go.microsoft.com/?linkid=317027http://www.microsoft.com/info/cpyright.mspxhttp://www.microsoft.com/info/privacy.mspx
Microsoft Windows XP - Arp
Arp
Displays and modifies entries in the Address Resolution Protocol (ARP) cache, which contains one or more tables that are used to store IP addresses and their resolved Ethernet or Token Ring physical addresses. There is a separate table for each Ethernet or Token Ring network adapter installed on your computer. Used without parameters, arp displays help.
Syntax
arp [-a [InetAddr] [-N IfaceAddr]] [-g [InetAddr] [-N IfaceAddr]] [-d InetAddr [IfaceAddr]] [-s InetAddr EtherAddr [IfaceAddr]]
Top of page
Parameters
-a [InetAddr] [-N IfaceAddr] : Displays current ARP cache tables for all interfaces. To display the ARP cache entry for a specific IP address, use arp -a with the InetAddr parameter, where InetAddr is an IP address. To display the ARP cache table for a specific interface, use the -N IfaceAddr parameter where IfaceAddr is the IP address assigned to the interface. The -N parameter is case-sensitive.
-g [InetAddr] [-N IfaceAddr] : Identical to -a.
-d InetAddr [IfaceAddr] : Deletes an entry with a specific IP address, where InetAddr is the IP address. To delete an entry in a table for a specific interface, use the IfaceAddr parameter where IfaceAddr is the IP address assigned to the interface. To delete all entries, use the asterisk (*) wildcard character in place of InetAddr.
-s InetAddr EtherAddr [IfaceAddr] : Adds a static entry to the ARP cache that resolves the IP address InetAddr to the physical address EtherAddr. To add a static ARP cache entry to the table for a specific interface, use the IfaceAddr parameter where IfaceAddr is an IP address assigned to the interface.
/? : Displays help at the command prompt.
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/arp.mspx (1 of 3)5/22/2004 11:07:49 PM
Microsoft Windows XP - Arp
Top of page
Remarks
The IP addresses for InetAddr and IfaceAddr are expressed in dotted decimal notation. The physical address for EtherAddr consists of six bytes expressed in hexadecimal notation and separated by hyphens (for example, 00-AA-00-4F-2A-9C).
Entries added with the -s parameter are static and do not time out of the ARP cache. The entri
Top Related