Sie sind auf Seite 1von 8

Windows XP Professional Command Line Reference

Created by CSArchive.Net

Windows XP Professional Command Line Reference


Created by CSArchive.Net
All Rights Reserved These commands apply to Windows XP. To see more detailed information about each command, click on Details. ABCDEFGHILMNOPQRSTUVWX Windows XP Professional Command Line Reference Command Description A Top of the Document Displays and modifies the IP-to-Physical address translation tables used Arp by address resolution protocol. Assoc Displays or modifies extension associations. Schedules commands and programs to run on a computer at a specified At time and date. Monitors connections and addresses that are registered by the ATM Call Atmadm Manager on an asynchronous transfer mode (ATM) network. Attrib Displays or changes file attributes. B Top of the Document With batch files, which are also called batch programs or scripts, you can Batch Files simplify routine or repetitive tasks. Can be used to configure, query, change or delete the boot entry settings Bootcfg in the BOOT.INI file. Break This command accepted only for compatibility with MS-DOS files. C Top of the Document Cacls Displays or modifies access control lists (DACL) files. Call Calls one batch program from another Change logon Enable, disable, or drain session logins. Change port List or change COM port mapping for DOS application compatibility. Change user Changes the setting for .ini file mapping. Displays or sets the active console code page, or changes the consoles Chcp active console code page. Chdir (Cd) Displays the name or changes the current directory. Chkdsk Checks a disk and displays a status report. Chkntfs Displays or modifies the checking of disk at boot time. Cipher Displays or alters the encryption of directories or files on NTFS partitions. Cls Clears the Command Prompt window. Cmd Starts a new instance of the windows command interpreter. Cmstp Installs or removes a connection manager service profile.

Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details

Color

Sets the default console foreground and background colors. Provides direct communication between the user and the operating Command Shell system. Comp Compares the contents of two files or sets of files byte by byte. Compact Displays or alters the compression of files on NTFS partitions. Convert Converts FAT and FAT32 volumes to NTFS. Copy Copies one or more files to another location. Cleans specified of wasted space and, if user-specific file associations are Cprofile disabled, removes these associations from the registry. Cscript.exe is a command-line version of the Windows Script Host that CScript provides command-line options for setting script properties. D Top of the Document Date Displays or sets the date. Locates and consolidates fragmented files on local volume to improve Defrag system performance. Del Deletes specified files. Dir Displays a list of files and subdirectories in a directory. Diskcomp Compares the contents of two floppy disks. Diskcopy Copies the contents of one floppy disk to another. Enables you to manage objects (disks, partitions, or volumes) by using DiskPart scripts or direct input from a command prompt. Doskey Edits command lines, recalls Windows commands, and create macros. Driverquery Displays a lists of all installed device drivers and their properties. E Top of the Document Echo Turns the command-echoing feature on or off, or displays a message. Ends localization of environment changes in a batch file, restoring Endlocal environment variables to their values before the matching setlocal command. Enables an administrator to create a custom event ID and message in a Eventcreate specified event log. Eventquery Lists the events and event properties from one or more event logs. Eventtriggers Displays and configures event triggers on local or remote machines. Configures the translation of events to traps, trap destinations, or both Evntcmd based on information in a configuration file. Quits the CMD.EXE program (command interpreter) or the current batch Exit script. Expand Expands one or more compressed files. F Top of the Document Compares two files or sets of files and displays the differences between Fc them. Filter Used in conjunction with the command redirection pipe character (|). Find Searches for a text string in a files or files. Findstr Searches for patterns of text in files using regular expressions. Displays information about a user or users on a specified remote Finger computer that is running the finger service or daemon. Flattemp Enables or disables flat temporary folders.

Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details

For Format Fsutil

Runs a specified command for each file in a set of files. Formats the disk in the specified volume to accept Windows files. You can use to perform many FAT and NTFS file system related tasks. Transfers files to and from a computer running a file transfer protocol Ftp (FTP) server service. Ftp subcommands Used with Ftp command. Ftype Displays or modifies file types used in file extension associations. G Top of the Document Returns the media access control (MAC) address and list of network Getmac protocols associated with each address for all network cards in each computer. Goto Directs cmd.exe to a labeled line in a batch program. Displays Group Policy settings and Resultant Set of Policy (RSOP) for a Gpresult user or a computer. Gpupdate Updates Group Policies settings. Graftabl Enables Windows to display an extended character set in graphics mode. H Top of the Document Help Provides online information about system commands. Helpctr Starts Help and Support Center. Displays the host name portion of the full computer name of the Hostname computer. I Top of the Document If Performs conditional processing in batch programs. Displays all current TCP/IP network configuration values and refreshes Ipconfig Dynamic Host configuration Protocol (DHCP) and Domain Name System (DNS) settings. Configures Internet Protocol Security (IPSec) policies in a directory service Ipseccmd or in a local or remote registry. Displays and modifies information about the routing tables used by the Ipxroute IPX protocol. Irftp Sends files over an infrared link. L Top of the Document Label Create, changes, or deletes the volume label of a disk. Lodctr Updates registry values related to performance counters. Manages and schedules performance counter and event trace log Logman collections on local and remote systems. Displays the status of a print queue on a computer running Line Printer Lpq Daemon (LPD). Sends a file to a computer running Line Printer Daemon (LPD) in Lpr preparation for printing. M Top of the Document Manages Files Server for Macintosh servers, volumes, directories, and Macfile files. Mkdir (md) Creates a directory or subdirectory. Mmc Opens Microsoft Management Console (MMC). Mode Displays systems status, changes system settings, or reconfigures ports or

Details Details Details Details Details Details

Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details

Details Details Details Details

devices. More Displays one screen of output at a time. Mountvol Creates, deletes, or lists a volume mount point. Move Moves files and renames files and directories. MS-DOS Includes 16-bit commands (nonnative) for the MS-DOS subsystem and commands other subsystems. Provides the means to install, modify, and perform operations on Msiexec Windows Installer from the Command Line. Displays a comprehensive view of your hardware, system components, Msinfo32 and software environment. N Top of the Document Displays protocol statistics and current TCP/IP connections using Net Nbtstat BIOS over TCP/IP. Net services Net services overview. Net commands Net services commands. Allows you to, either locally or remotely, display or modify the network Netsh configuration of a computer that is currently running. Shows and sets the configuration of the authentication, authorization, Netsh for AAAA accounting, and auditing (AAAA) database. Helps with the administration of DHCP servers and provides an Netsh for DHCP equivalent alternative to console-based management. Administers and troubleshoots operating system and network service Netsh diag parameters from the command line. Configures the TCP/IP protocol and to display configuration and statistical Netsh for IP information. You can administer remote access servers by typing commands at the Netsh for RAS command prompt for the Netsh RAS context. Offers a command-line tool for administering WINS servers that can be Netsh for WINS used as an equivalent alternative to console-based management. Administers routing servers from the command line, rather than through Netsh for Routing the Routing and Remote Access console. Netstat Displays Protocol statistics and current TCP/IP network connections. Displays information that you can use to diagnose Domain Name System Nslookup (DNS) infrastructure. Nslookup Used with Nslookup command. subcommands Performs backup operations at a command prompt or from a batch file Ntbackup using the ntbackup command followed by various parameters. Ntcmdprompt Runs the command interpreter Cmd.exe, rather than Command.com. Ntsd Ntsd is included as a courtesy to software developers. O Top of the Document Enables an administrator or list or disconnect files and folders that have Openfiles been opened on a system. P Top of the Document Enables and administrator to display and configure a systems paging file Pagefileconfig Virtual Memory settings.

Details Details Details Details Details Details

Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details

Details

Path

Displays or sets a search path for executable files. Provides information about network latency and network loss at Pathping intermediate hops between a source and destination. Suspends processing of a batch program and displays a message Pause prompting the user to press any key to continue. Pbadmin Administers phone books. Detects floating point division error in the Pentium chip, disable floating Pentnt point hardware, and turns on floating point emulation. Allows you to open a Windows XP Performance console configured with Perfmon settings files from Windows NT 4.0 version of Performance Monitor. Verifies IP-level connectivity to another TCP/IP computer by sending Ping Internet Control Message Protocol (ICMP) Echo Request messages. Popd Changes to the directory stored by the PUSHD command. Print Prints a text file. Prncnfg Configures or displays configuration information about a printer. Adds, deletes, and lists printer drivers. Used without parameters, Prndrvr prndrvr.vbs displays command-line help for the prndrvr.vbs command. Prnjobs Pauses, resumes, cancel, and lists print jobs. Adds, deletes, and lists printers or printer connections, in addition to Prnmngr setting and displaying the default printer. Creates, deletes, and lists standard TCP/IP printer ports, in addition to Prnport displaying and changing port configuration. Prints a test page, pauses or resumes a printer, and clears a printer Prnqctl queue. Prompt Changes the Cmd.exe command prompt. Stores the current directory for use by the popd command, and then Pushd changes to the specified directory. Q Top of the Document Query process Displays information about processes. Query session Displays information about Remote Desktop Sessions. Displays the available Remote Desktop Session Host servers on the Query termserver network. Query user Displays information about users logged on to the system. R Top of the Document Automates the connection process for any Microsoft client by using a Rasdial simple batch file and the rasdial command. Copies files between a Windows XP computer and a system running rshd, Rcp the remote shell service (daemon). Recover Recovers readable information from a bad or defective disk. Redirection You can use redirection operators to redirect command input and output operators streams from the default locations to different locations. Adds, changes, and displays registry subkey information and values in Reg registry entries. Regsvr32 Registers .dll files as command components in the registry. Creates new performance logs from data in existing performance logs by Relog changing the sampling rate and/or converting the files format.

Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details

Rem Rename (ren) Replace

Records comments in a batch file or CONFIG.SYS. Rename a file or files. Replaces files. Reset the session subsystem hardware and software to know initial Reset session values. Runs commands on remote computers running the Rexec service Rexec (daemon). Rmdir (rd) Removes (deletes) a directory. Route Displays and modifies the entries in the local IP routing table. Runs commands on remote computers running the RSH service or Rsh daemon. Rsm Manages media resources using Removable Storage. Allows a user to run specific tools and programs with different Runas permissions than the user's current logon provides. S Top of the Document SC Communicates with the Service Controller and installed services. Enables an administrator to create, delete, query, change, run and end Schtasks scheduled tasks on a local or remote system. Configures and analyzes system security by comparing your current Secedit configuration to at least one template. Set Displays, sets, or removes cmd.exe environment variables. Setlocal Starts localization of environment variables in a batch file. Shift Changes the position of replaceable parameters in a batch file. Shutdown Allows you to shut down or restart a local or remote computer. Reads input, sorts data, and writes the results to the screen, to a file, or Sort to another device. Starts a separate Command Prompt window to run a specified program Start or command. Subst Associates a path with a drive letter. Displays detailed configuration information about a computer and its Systeminfo operating system Scans and verifies the versions of all protected system files after you Sfc restart your computer. T Top of the Document Taskkill Terminates tasks by process id or image name. Displays a list of currently running processes on either a local or remote Tsklist machine. Tcmsetup Sets up or disables the TAPI client. Offers network connections to other computers, such as UNIX TCP/IP services workstations. Allows you to communicate with a remote computer that is using the Telnet commands Telnet protocol. Terminal services Terminal services commands. Transfers files to and from a remote computer, typically a computer Tftp running UNIX that is running the Trivial File Transfer Protocol (TFTP) service or daemon.

Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details

Time Title Tracerpt Tracert Tree Type Typeperf U Unlodctr V Ver Verify Vol Vssadmin W W32tm Winnt Winnt32 WMIC tool X Xcopy

Displays or sets the system time. Creates a title for the command prompt window. Processes event trace logs or real-time data from instrumented event trace providers and allows you to generate trace analysis reports. Determines the path taken to a destination by sending Internet Control Message Protocol (ICMP) Echo Request messages to the destination. Graphically displays the folder structure of a drive or path. Displays the contents of a text file or files. Writes performance data to the command window or to a log file. Top of the Document Removes Performance counter names and Explain text for a service or device driver from the system registry. Top of the Document Displays the Windows version. This command accepted only for compatibility with MS-DOS files. Displays the disk volume label and serial number, if they exist. Displays current volume shadow copy backups and all installed shadow copy writers and providers in the command window. Top of the Document A tool used to diagnose problems occurring with Windows Time. Performs an installation of or upgrade to Windows XP. Performs an installation of or upgrade to Windows XP. Simplifies the use of Windows Management Instrumentation (WMI) and systems managed through WMI. Top of the Document Copies files and directories, including subdirectories.

Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details Details

www.csarchive.net

Das könnte Ihnen auch gefallen