Sunteți pe pagina 1din 8

Command-line reference A-Z Page 1 of 8

©2011 Microsoft Corporation. All rights reserved.

Command-line reference A-Z


ABCDEFGHILMNOPQRSTUVWX

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 [ http://technet.microsoft.com/en-
us/library/bb490890.aspx ] For information about installing support tools, see Install Windows Support
Tools [ http://technet.microsoft.com/en-us/library/bb490890.aspx ]

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 [ http://technet.microsoft.com/en-us/library/bb490953.aspx ]

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 /?

A
Arp [ http://technet.microsoft.com/en-us/library/bb490864.aspx ]

Assoc [ http://technet.microsoft.com/en-us/library/bb490865.aspx ]

At [ http://technet.microsoft.com/en-us/library/bb490866.aspx ]

Atmadm [ http://technet.microsoft.com/en-us/library/bb490867.aspx ]

Attrib [ http://technet.microsoft.com/en-us/library/bb490868.aspx ]

Top of page

B
Batch files [ http://technet.microsoft.com/en-us/library/bb490869.aspx ]

Bootcfg [ http://technet.microsoft.com/en-us/library/bb490870.aspx ]

Break [ http://technet.microsoft.com/en-us/library/bb490871.aspx ]

Top of page

C
Cacls [ http://technet.microsoft.com/en-us/library/bb490872.aspx ]

Call [ http://technet.microsoft.com/en-us/library/bb490873.aspx ]

Change [ http://technet.microsoft.com/en-us/library/bb491021.aspx ]

Chcp [ http://technet.microsoft.com/en-us/library/bb490874.aspx ]

http://technet.microsoft.com/en-us/library/bb490890(printer).aspx 04/01/2011
Command-line reference A-Z Page 2 of 8

Chdir [ http://technet.microsoft.com/en-us/library/bb490875.aspx ]

Chkdsk [ http://technet.microsoft.com/en-us/library/bb490876.aspx ]

Chkntfs [ http://technet.microsoft.com/en-us/library/bb490877.aspx ]

Cipher [ http://technet.microsoft.com/en-us/library/bb490878.aspx ]

Cls [ http://technet.microsoft.com/en-us/library/bb490879.aspx ]

Cmd [ http://technet.microsoft.com/en-us/library/bb490880.aspx ]

Cmstp [ http://technet.microsoft.com/en-us/library/bb490881.aspx ]

Color [ http://technet.microsoft.com/en-us/library/bb490882.aspx ]

Command shell overview [ http://technet.microsoft.com/en-us/library/bb490954.aspx ]

Comp [ http://technet.microsoft.com/en-us/library/bb490883.aspx ]

Compact [ http://technet.microsoft.com/en-us/library/bb490884.aspx ]

Convert [ http://technet.microsoft.com/en-us/library/bb490885.aspx ]

Copy [ http://technet.microsoft.com/en-us/library/bb490886.aspx ]

Cprofile [ http://technet.microsoft.com/en-us/library/bb491022.aspx ]

CScript overview [ http://technet.microsoft.com/en-us/library/bb490887.aspx ]

Top of page

D
Date [ http://technet.microsoft.com/en-us/library/bb490889.aspx ]

Defrag [ http://www.microsoft.com/technet/archive/msdos/comm2.mspx ]

Del [ http://www.microsoft.com/technet/archive/msdos/comm2.mspx ]

Dir [ http://technet2.microsoft.com/windowsserver/en/library/a6aaf662-4153-4f8c-873e-
58d91aedc1ea1033.mspx ]

Diskcomp [ http://technet.microsoft.com/en-us/library/bb490891.aspx ]

Diskcopy [ http://technet.microsoft.com/en-us/library/bb490892.aspx ]

DiskPart [ http://technet.microsoft.com/en-us/library/bb490893.aspx ]

Doskey [ http://technet.microsoft.com/en-us/library/bb490894.aspx ]

Driverquery [ http://technet.microsoft.com/en-us/library/bb490896.aspx ]

Top of page

E
Echo [ http://technet.microsoft.com/en-us/library/bb490897.aspx ]

Endlocal [ http://technet.microsoft.com/en-us/library/bb490898.aspx ]

Eventcreate [ http://technet.microsoft.com/en-us/library/bb490899.aspx ]

Eventquery [ http://technet.microsoft.com/en-us/library/bb490900.aspx ]

http://technet.microsoft.com/en-us/library/bb490890(printer).aspx 04/01/2011
Command-line reference A-Z Page 3 of 8

Eventtriggers [ http://technet.microsoft.com/en-us/library/bb490901.aspx ]

Evntcmd [ http://technet.microsoft.com/en-us/library/bb490890.aspx ]

Exit [ http://technet.microsoft.com/en-us/library/bb490902.aspx ]

Expand [ http://technet.microsoft.com/en-us/library/bb490903.aspx ]

Top of page

F
Fc [ http://technet.microsoft.com/en-us/library/bb490904.aspx ]

Filter commands [ http://technet.microsoft.com/en-us/library/bb490905.aspx ]

Find [ http://technet.microsoft.com/en-us/library/bb490906.aspx ]

Findstr [ http://technet.microsoft.com/en-us/library/bb490907.aspx ]

Finger [ http://technet.microsoft.com/en-us/library/bb490908.aspx ]

Flattemp [ http://technet.microsoft.com/en-us/library/bb491023.aspx ]

For [ http://technet.microsoft.com/en-us/library/bb490909.aspx ]

Format [ http://www.microsoft.com/technet/archive/msdos/comm4.mspx ]

Fsutil [ http://technet2.microsoft.com/windowsserver2008/en/library/097de37c-812c-47b0-872b-
4b55ea32b27f1033.mspx?mfr=true ]

Ftp [ http://technet.microsoft.com/en-us/library/bb490910.aspx ]

Ftp subcommands [ http://technet.microsoft.com/en-us/library/bb490911.aspx ]

Ftype [ http://technet.microsoft.com/en-us/library/bb490912.aspx ]

Top of page

G
Getmac [ http://technet.microsoft.com/en-us/library/bb490913.aspx ]

Goto [ http://technet.microsoft.com/en-us/library/bb490914.aspx ]

Gpresult [ http://technet.microsoft.com/en-us/library/bb490915.aspx ]

Gpupdate [ http://technet.microsoft.com/en-us/library/bb490983.aspx ]

Graftabl [ http://technet.microsoft.com/en-us/library/bb490916.aspx ]

Top of page

H
Help [ http://technet.microsoft.com/en-us/library/bb490917.aspx ]

Helpctr [ http://technet.microsoft.com/en-us/library/bb490918.aspx ]

Hostname [ http://technet.microsoft.com/en-us/library/bb490919.aspx ]

Top of page

http://technet.microsoft.com/en-us/library/bb490890(printer).aspx 04/01/2011
Command-line reference A-Z Page 4 of 8

I
If [ http://technet.microsoft.com/en-us/library/bb490920.aspx ]

Ipconfig [ http://technet.microsoft.com/en-us/library/bb490921.aspx ]

Ipseccmd [ http://technet.microsoft.com/en-us/library/bb490922.aspx ]

Ipxroute [ http://technet.microsoft.com/en-us/library/bb490923.aspx ]

Irftp [ http://technet.microsoft.com/en-us/library/bb490924.aspx ]

Top of page

L
Label [ http://technet.microsoft.com/en-us/library/bb490925.aspx ]

Lodctr [ http://technet.microsoft.com/en-us/library/bb490926.aspx ]

Logman [ http://technet.microsoft.com/en-us/library/bb490956.aspx ]

Lpq [ http://technet.microsoft.com/en-us/library/bb490927.aspx ]

Lpr [ http://technet.microsoft.com/en-us/library/bb490928.aspx ]

Top of page

M
Macfile [ http://technet.microsoft.com/en-us/library/bb490929.aspx ]

Mkdir (md) [ http://technet.microsoft.com/en-us/library/bb490930.aspx ]

Mmc [ http://technet.microsoft.com/en-us/library/bb490931.aspx ]

Mode [ http://technet.microsoft.com/en-us/library/bb490932.aspx ]

More [ http://technet.microsoft.com/en-us/library/bb490933.aspx ]

Mountvol [ http://technet.microsoft.com/en-us/library/bb490934.aspx ]

Move [ http://technet.microsoft.com/en-us/library/bb490935.aspx ]

MS-DOS subsystem configuration commands [ http://technet.microsoft.com/en-


us/library/bb490895.aspx ]

Msiexec [ http://technet.microsoft.com/en-us/library/bb490936.aspx ]

Msinfo32 [ http://technet.microsoft.com/en-us/library/bb490937.aspx ]

Top of page

N
Nbtstat [ http://technet.microsoft.com/en-us/library/bb490938.aspx ]

Net services overview [ http://technet.microsoft.com/en-us/library/bb490948.aspx ]

Net services commands [ http://technet.microsoft.com/en-us/library/bb490949.aspx ]

Netsh command overview [ http://technet.microsoft.com/en-us/library/bb490939.aspx ]

Netsh commands for AAAA [ http://technet.microsoft.com/en-us/library/bb490940.aspx ]

http://technet.microsoft.com/en-us/library/bb490890(printer).aspx 04/01/2011
Command-line reference A-Z Page 5 of 8

Netsh commands for DHCP [ http://technet.microsoft.com/en-us/library/bb490941.aspx ]

Netsh diagnostic (diag) commands [ http://technet.microsoft.com/en-us/library/bb490942.aspx ]

Netsh commands for Interface IP [ http://technet.microsoft.com/en-us/library/bb490943.aspx ]

Netsh commands for RAS [ http://technet.microsoft.com/en-us/library/bb490944.aspx ]

Netsh commands for Routing [ http://technet.microsoft.com/en-us/library/bb490945.aspx ]

Netsh commands for WINS [ http://technet.microsoft.com/en-us/library/bb490946.aspx ]

Netstat [ http://technet.microsoft.com/en-us/library/bb490947.aspx ]

Nslookup [ http://technet.microsoft.com/en-us/library/bb490950.aspx ]

Nslookup subcommands [ http://technet.microsoft.com/en-us/library/bb490951.aspx ]

Ntbackup [ http://technet.microsoft.com/en-us/library/bb490952.aspx ]

Ntcmdprompt [ http://technet.microsoft.com/en-us/library/bb490953.aspx ]

Ntsd [ http://technet.microsoft.com/en-us/library/bb490955.aspx ]

Top of page

O
Openfiles [ http://technet.microsoft.com/en-us/library/bb490961.aspx ]

Top of page

P
Pagefileconfig [ http://technet.microsoft.com/en-us/library/bb490962.aspx ]

Path [ http://technet.microsoft.com/en-us/library/bb490963.aspx ]

Pathping [ http://technet.microsoft.com/en-us/library/bb490964.aspx ]

Pause [ http://technet.microsoft.com/en-us/library/bb490965.aspx ]

Pbadmin [ http://technet.microsoft.com/en-us/library/bb490966.aspx ]

Pentnt [ http://technet.microsoft.com/en-us/library/bb490967.aspx ]

Perfmon [ http://technet.microsoft.com/en-us/library/bb490957.aspx ]

Ping [ http://technet.microsoft.com/en-us/library/bb490968.aspx ]

Popd [ http://technet.microsoft.com/en-us/library/bb490969.aspx ]

Print [ http://technet.microsoft.com/en-us/library/bb490970.aspx ]

Prncnfg [ http://technet.microsoft.com/en-us/library/bb490971.aspx ]

Prndrvr [ http://technet.microsoft.com/en-us/library/bb490972.aspx ]

Prnjobs [ http://technet.microsoft.com/en-us/library/bb490973.aspx ]

Prnmngr [ http://technet.microsoft.com/en-us/library/bb490974.aspx ]

Prnport [ http://technet.microsoft.com/en-us/library/bb490975.aspx ]

Prnqctl [ http://technet.microsoft.com/en-us/library/bb490976.aspx ]

http://technet.microsoft.com/en-us/library/bb490890(printer).aspx 04/01/2011
Command-line reference A-Z Page 6 of 8

Prompt [ http://technet.microsoft.com/en-us/library/bb490977.aspx ]

Pushd [ http://technet.microsoft.com/en-us/library/bb490978.aspx ]

Top of page

Q
Query [ http://technet.microsoft.com/en-us/library/bb491024.aspx ]

Top of page

R
Rasdial [ http://technet.microsoft.com/en-us/library/bb490979.aspx ]

Rcp [ http://technet.microsoft.com/en-us/library/bb490980.aspx ]

Recover [ http://technet.microsoft.com/en-us/library/bb490981.aspx ]

Redirection operators [ http://technet.microsoft.com/en-us/library/bb490982.aspx ]

Reg [ http://technet.microsoft.com/en-us/library/bb490984.aspx ]

Regsvr32 [ http://technet.microsoft.com/en-us/library/bb490985.aspx ]

Relog [ http://technet.microsoft.com/en-us/library/bb490958.aspx ]

Rem [ http://technet.microsoft.com/en-us/library/bb490986.aspx ]

Rename [ http://technet.microsoft.com/en-us/library/bb490987.aspx ]

Replace [ http://technet.microsoft.com/en-us/library/bb490988.aspx ]

Reset session [ http://technet.microsoft.com/en-us/library/bb491025.aspx ]

Rexec [ http://technet.microsoft.com/en-us/library/bb490989.aspx ]

Rmdir [ http://technet.microsoft.com/en-us/library/bb490990.aspx ]

Route [ http://technet.microsoft.com/en-us/library/bb490991.aspx ]

Rsh [ http://technet.microsoft.com/en-us/library/bb490992.aspx ]

Rsm [ http://technet.microsoft.com/en-us/library/bb490993.aspx ]

Runas [ http://technet.microsoft.com/en-us/library/bb490994.aspx ]

Top of page

S
Sc [ http://technet.microsoft.com/en-us/library/bb490995.aspx ]

Schtasks [ http://technet.microsoft.com/en-us/library/bb490996.aspx ]

Secedit [ http://technet.microsoft.com/en-us/library/bb490997.aspx ]

Set [ http://technet.microsoft.com/en-us/library/bb490998.aspx ]

Setlocal [ http://technet.microsoft.com/en-us/library/bb491001.aspx ]

Shift [ http://technet.microsoft.com/en-us/library/bb491002.aspx ]

http://technet.microsoft.com/en-us/library/bb490890(printer).aspx 04/01/2011
Command-line reference A-Z Page 7 of 8

Shutdown [ http://technet.microsoft.com/en-us/library/bb491003.aspx ]

Sort [ http://technet.microsoft.com/en-us/library/bb491004.aspx ]

Start [ http://technet.microsoft.com/en-us/library/bb491005.aspx ]

Subst [ http://technet.microsoft.com/en-us/library/bb491006.aspx ]

Systeminfo [ http://technet.microsoft.com/en-us/library/bb491007.aspx ]

System File Checker (sfc) [ http://technet.microsoft.com/en-us/library/bb491008.aspx ]

Top of page

T
Taskkill [ http://technet.microsoft.com/en-us/library/bb491009.aspx ]

Tasklist [ http://technet.microsoft.com/en-us/library/bb491010.aspx ]

Tcmsetup [ http://technet.microsoft.com/en-us/library/bb491011.aspx ]

TCP/IP utilities and services [ http://technet.microsoft.com/en-us/library/bb491012.aspx ]

Telnet commands [ http://technet.microsoft.com/en-us/library/bb491013.aspx ]

Terminal Services commands [ http://technet.microsoft.com/en-us/library/bb491020.aspx ]

Tftp [ http://technet.microsoft.com/en-us/library/bb491014.aspx ]

Time [ http://technet.microsoft.com/en-us/library/bb491015.aspx ]

Title [ http://technet.microsoft.com/en-us/library/bb491017.aspx ]

Tracerpt [ http://technet.microsoft.com/en-us/library/bb490959.aspx ]

Tracert [ http://technet.microsoft.com/en-us/library/bb491018.aspx ]

Tree [ http://technet.microsoft.com/en-us/library/bb491019.aspx ]

Type [ http://technet.microsoft.com/en-us/library/bb491026.aspx ]

Typeperf [ http://technet.microsoft.com/en-us/library/bb490960.aspx ]

Top of page

U
Unlodctr [ http://technet.microsoft.com/en-us/library/bb491027.aspx ]

Top of page

V
Ver [ http://technet.microsoft.com/en-us/library/bb491028.aspx ]

Verify [ http://technet.microsoft.com/en-us/library/bb491029.aspx ]

Vol [ http://technet.microsoft.com/en-us/library/bb491030.aspx ]

Vssadmin [ http://technet.microsoft.com/en-us/library/bb491031.aspx ]

Top of page

http://technet.microsoft.com/en-us/library/bb490890(printer).aspx 04/01/2011
Command-line reference A-Z Page 8 of 8

W
W32tm [ http://technet.microsoft.com/en-us/library/bb491016.aspx ]

Winnt

Winnt32 [ http://technet.microsoft.com/en-us/library/bb491032.aspx ]

WMIC overview [ http://technet.microsoft.com/en-us/library/bb491034.aspx ]

Top of page

X
Xcopy [ http://technet.microsoft.com/en-us/library/bb491035.aspx ]

Top of page

http://technet.microsoft.com/en-us/library/bb490890(printer).aspx 04/01/2011

S-ar putea să vă placă și