List of windows 7 command prompt commands

The bootcfg command is used to build, modify, or view the contents of the boot.ini file, a hidden file that is used to identify in what folder, on which partition, and on which hard drive Windows is located. Bootcfg is available in Windows 7 but it serves no real value since boot.ini is not used in these operating systems. The bcdedit command should be used instead.

The call command is used to run a script or batch program from within another script or batch program. The call command has no effect outside of a script or batch file. In other words, running the call command at the Command Prompt or MS-DOS prompt will do nothing.

The dir command is used to display a list of files and folders contained inside the folder that you are currently working in.


The dir command also displays other important information like the hard drive’s serial number, the total number of files listed, their combined size, the total amount of free space left on the drive, and more.

The dosx command is used to start DOS Protected Mode Interface (DPMI), a special mode designed to give MS-DOS applications access to more than the normally allowed 640 KB. The dosx command is not available in 64-bit versions of Windows 7. The dosx command and DPMI is only available in Windows 7 to support older MS-DOS programs.

The extrac32 command is used to extract the files and folders contained in Microsoft Cabinet (CAB) files. The extrac32 command is actually a CAB extraction program for use by Internet Explorer but can be used to extract any Microsoft Cabinet file. Use the expand command instead of the extrac32 command if possible.

The fastopen command is used to add a program’s hard drive location to a special list stored in memory, potentially improving the program’s launch time by removing the need for MS-DOS to locate the application on the drive. The fastopen command is not available in 64-bit versions of Windows 7. Fastopen is only available in Windows 7 to support older MS-DOS files.

The lpq command displays the status of a print queue on a computer running Line Printer Daemon (LPD). The lpq command is not available by default in Windows 7 but can be enabled by turning on the LPD Print Service and LPR Port Monitor features from Programs and Features in Control Panel.

The lpr command is used to send a file to a computer running Line Printer Daemon (LPD). The lpr command is not available by default in Windows 7 but can be enabled by turning on the LPD Print Service and LPR Port Monitor features from Programs and Features in Control Panel.

The mount command is used to mount Network File System (NFS) network shares. The mount command is not available by default in Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel.

The net1 command is used to display, configure, and correct a wide variety of network settings. The net command should be used instead of the net1 command. The net1 command was made available in Windows NT and Windows 2000 as a temporary fix for a Y2K issue that the net command had, which was corrected before the release of Windows XP. The net1 command remains in later versions of Windows only for compatibility with older programs and scripts that utilized the command.

The nfsadmin command is used to manage Server for NFS or Client for NFS from the command line. The nfsadmin command is not available by default in Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel. The nfsadmin command is not available in Windows 8 because Service for UNIX (SFU) was discontinued.

The rcp command is used to copy files between a Windows computer and a system running the rshd daemon. The rcp command is not available by default in Windows 7 but can be enabled by turning on the Subsystem for UNIX-based Applications Windows feature from Programs and Features in Control Panel and then installing the Utilities and SDK for UNIX-based Applications available here.

The robocopy command is used to copy files and directories from one location to another. This command is also called Robust File Copy. The robocopy command is superior to the both the copy command and the xcopy command because robocopy supports many more options.

The rpcinfo command makes a remote procedure call (RPC) to an RPC server and reports what it finds. The rpcinfo command is not available by default in Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel.

The rsh command is used to run commands on remote computers running the rsh daemon. The rsh command is not available by default in Windows 7 but can be enabled by turning on the Subsystem for UNIX-based Applications Windows feature from Programs and Features in Control Panel and then installing the Utilities and SDK for UNIX-based Applications available here.

The showmount command is used to display information about NFS mounted file systems. The showmount command is not available by default in Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel.

The telnet command is used to communicate with remote computers that use the Telnet protocol. The telnet command is not available by default in Windows 7 but can be enabled by turning on the Telnet Client Windows feature from Programs and Features in Control Panel.

The tftp command is used to transfer files to and from a remote computer that’s running the Trivial File Transfer Protocol (TFTP) service or daemon. The tftp command is not available by default in Windows 7 but can be enabled by turning on the TFTP Client Windows feature from Programs and Features in Control Panel.

The tlntadmn command is used to administer a local or remote computer running Telnet Server. The tlntadmn command is not available by default in Windows 7 but can be enabled by turning on the Telnet Server Windows feature from Programs and Features in Control Panel.

The tracert command sends Internet Control Message Protocol (ICMP) Echo Request messages to a specified remote computer with increasing Time to Live (TTL) field values and displays the IP address and hostname, if available, of the router interfaces between the source and destination.

The umount command is used to remove Network File System (NFS) mounted network shares. The umount command is not available by default in Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel.

The xcopy command can copy one or more files or directory trees from one location to another. The xcopy command is generally considered a more "powerful" version of the copy command though the robocopy command trumps even xcopy. A command by the name of xcopy32 existed in Windows 95 and Windows 98. To avoid a long and confusing explanation here, just know that no matter if you executed the xcopy command or the xcopy32 command, you were always executing the most updated version of the command.