Windows - The command list

December 2016






Intro


Here below you will get a brief descriptionof the command Prompt used in Windows XP and 2000.

Small tip


Note that most of these commannds can be used under Vista or 7:
  • Start>Search>type command and press enter to execute the command.



Getting started


[Command]>[Description]
  • APPEND: Allows applications to open files in directories as if they were in the current directory.
  • ARP: Displays and modifies tables related to the mapping of IP address/physical protocol used by the address resolution (ARP).
  • ASSOC: Displays or modifies applications associated with file extensions.
  • AT: Schedules the execution of commands or programs on a computer.
  • ATTRIB: Displays or changes the attributes of a file.
  • BREAK: Enables or disables the extended control of CTRL + C.
  • CACLS: Displays or modifies the list of access controls to files.
  • CALL: Calls a batch file from another batch file.
  • CD: modifies directory or displays the current directory.
  • CHCP: Changes the active code page or display it's number.
  • CHDIR: Changes directory or displays the name of the current directory.
  • CHKDSK: Checks a disk and displays a record of it's state.
  • CHKNTFS: Check out if a volume is FAT, FAT32 or NTFS.
  • CIPHER: Displays or alters the encryption of directories [files] on NTFS partitions.
  • CLS: Clears the screen.
  • CMD: Starts a new instance of the shell of Windows 2000.
  • COLOR: Changes the color of the foreground and the background of the console.
  • COMP: Compares the contents of two files or filegroups.
  • COMPACT: Modifies or displays the compression of files on an NTFS partition.
  • CONVERT: Converts FAT volumes to NTFS volumes. You can not convert the drive in use.
  • COPY: Copy one or more files.
  • DATE: Displays or changes the date.
  • DEL: Deletes one or more files.
  • DIR: Displays a list of files and subdirectories in a directory.
  • DISKCOMP: Compares contents of two floppy disks.
  • DISKCOPY: Copy the contents of one disk to another.
  • DISKPERF: Enables or disables performance counters disk.
  • DNSCMD: Create a new DNS zone.
  • DOSKEY: Amendment ofcommand lines, recalls Windows 2000 commands, and creates macros.
  • ECHO: Displays messages on the screen and enables / disables the display of commands.
  • ENDLOCAL: Stops the localization of environment changes in a batch file.
  • ERASE: Deletes one or more files.
  • EVENTCREATE: Allows an administrator to create a message identifier and a custom event in a specified event log in Windows XP.
  • EVENTTRIGGERS: Allows an administrator to view and configure the "trigger events" on local or remote computers running Windows XP.
  • EXIT: Quits the command shell (CMD.EXE).
  • EXPAND: Uncompress one or more compressed files.
  • FC: Compares two files or groups of files, and displays the differences between them.
  • FIND: Searches for a string in one or more files.
  • FINDSTR: Seeking strings in one or more files.
  • FOR: Runs a command on each file in a filegroup.
  • FORMAT: Formats a disk for use with Windows 2000.
  • FTP: Transfer files to and from a computer running an FTP Service
  • FTYPE: Displays or modifies file types used in the extension associations.
  • GOTO: Continues execution of a batch file up to a line identified by a label.
  • GRAFTABL: Enables Windows 2000 to display a character set in graphics mode.
  • HELP: Displays information about commands in Windows 2000.
  • HOSTNAME: Displays the name of the computer assets. Hostname is only available if TCP/IP has been installed.
  • IF: Performs conditional processing in a batch file. :
  • IPCONFIG: Displays the IP configuration of Windows 2000. Cmd/k ipconfig can be used from Run tab.
  • IPV6:Enable on an IPv6 network, only works with Windows XP.
  • JVIEW: Command Line loader for Java.
  • LABEL: Creates, modifies or deletes the volume label of a disk.
  • MAKECAB: Creates file .CAB
  • MD: Creates a directory.
  • MEM: Displays the amount of memory used and free on your system.
  • MKDIR: Creates a directory.
  • MODE: Configures a system device.
  • MORE: Displays output screen by screen.
  • MOUNTVOL: Creates, deletes, or displays information to a mountpoint volume.
  • MOVE: Moves one or more files from one directory to another
  • NBTSTAT: Displays protocol statistics and TCP/IP using existing NBT (NetBIOS over TCP/IP)
  • NET: allows you to place commands on the network. Use NET HELP to display all available commands.
  • NET SEND: [Computer message] Sends a message to a computer.
  • NET START: [service] Start a service.
  • NETSH: Open NetShell
  • NETSTAT: Displays statistics and active connections. Netstat is only available if TCP/IP has been installed.
  • NLSFUNC: load configuration information specific to a country.
  • NSLOOKUP: Displays information about DNS. Before using this tool, you need to know how DNS works. NSLOOKUP is only available if TCP/IP has been installed. After entering NSLOOKUP, after the> type? for details of the command.
  • PATH: Displays or sets the search path for executable files.
  • PATHPING: trace tool that combines the features of Ping and Tracert with additional information that neither of these 2 commands does.
  • PAUSE: Pauses the execution of a batch file and displays a message.
  • PENTNT: Emphasizes the presence for the local computer floating-point division error of the Intel Pentium processor.
  • PING: Displays connection information of another machine.
  • POPD: Restores the previous value of the current directory saved by PUSHD.
  • PRINT: Prints a text file.
  • PROMPT: Change the command prompt for Windows 2000.
  • PUSHD: Saves the current directory then changes it.
  • RCP: copy files to and from the computer running the RCP service.
  • RD: Removes a directory.
  • RECOVER: Recovers readable information from a failed disk.
  • REG: Registry Tool for Windows console, you can add, edit, delete, etc.. keys.
  • REM: Insert a comment in a batch file or CONFIG.SYS.
  • REN: Renames one file or multiple files.
  • RENAME: Renames a file or multiplefiles.
  • REPLACE: Replaces files.
  • REXEC: Executes commands on remote hosts running the REXEC service. Rexec authenticates the user on the remote host before executing the specified command.
  • RMDIR: Removes a directory.
  • ROAD: Manipulates the routing tables of the network.
  • RSH: Executes commands on remote hosts running the RSH service.
  • SCHTASKS: (Windows XP) Allows an administrator to create, delete, query, edit, run and end scheduled tasks on a local or remote system.
  • SET: Displays,defines or removes environment variables Windows 2000.
  • SETLOCAL: Begins localization of environment changes in a batch file.
  • SETVER: Defines the version number that MS-DOS provides to a program.
  • SFC: Checks protected system files (PSF) and replaces the incorrect file versions with the correct values.
  • SHIFT: Changes the position of replaceable parameters in a batch file.
  • SORT: Sorts the input elements.
  • START: Starts a window for the program or command.
  • SUBST: Assign a drive letter to a path.
  • SYSTEMINFO: Allows the administrator to display the basic information of the system under Windows XP Professional.
  • TASKKILL: Allows Windows XP to terminate one or more tasks or processes.
  • TFTP: Transfer files to and from a remote computer running the TFTP service.
  • TIME: Displays or sets the time the system clock.
  • TITLE: Sets the window title for a CMD.EXE session.
  • TREE: graphically represents the tree of a drive or path.
  • TYPE: Displays the contents of a text file.
  • TYPEDERF: write performance data to the command line or to a log file compatible with System Monitor (under XP).
  • VER: Displays the version number of Windows 2000.
  • VERIFY: Tells Windows 2000 whether to verify that the files are written correctly on a given disk.
  • VOL: Displays the name and serial number of the volume.
  • XCOPY: Copy files and directories.

Related :

This document entitled « Windows - The command list » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.