Windows XP Command Prompt Commands (Part 2)

Part 2 of a Complete List of Command Line Commands in Windows XP

This is the second part of a 2-part, alphabetical list of commands available from the Command Prompt in Windows XP.

See Windows XP Command Prompt Commands Part 1 for the first set of commands.

append - net | netsh - xcopy

1
Netsh

The netsh command is used to start Network Shell, a command-line utility used to manage the network configuration of the local, or a remote, computer.

2
Netstat

The netstat command is most commonly used to display all open network connections and listening ports.

3
Nlsfunc

The nlsfunc command is used to load information specific to a particular country or region.

The nlsfunc command is not available in 64-bit versions of Windows XP.

4
Nslookup

The nslookup is most commonly used to display the hostname of an entered IP address. The nslookup command queries your configured DNS server to discover the IP address.

5
Ntbackup

The ntbackup command is used to perform various backup functions from the Command Prompt or from within a batch or script file.

6
Ntsd

The ntsd command is used to perform certain command line debugging tasks.

7
Openfiles

The openfiles command is used to display and disconnect open files and folders on a system.

8
Path

The path command is used to display or set a specific path available to executable files.

9
Pathping

The pathping command functions much like the tracert command but will also report information about network latency and loss at each hop.

10
Pause

The pause command is used within a batch or script file to pause the processing of the file. When the pause command is used, a Press any key to continue... message displays in the command window.

11
Pentnt

The pentnt command is used to detect floating point division errors in the Intel Pentium chip. The pentnt command is also used to enable floating point emulation and disable floating point hardware.

12
Ping

The ping command sends an Internet Control Message Protocol (ICMP) Echo Request message to a specified remote computer to verify IP-level connectivity.

13
Popd

The popd command is used to change the current directory to the one most recently stored by the pushd command. The popd command is most often utilized from within a batch or script file.

14
Powercfg

The powercfg command is used to manage the Windows power management settings from the command line.

15
Print

The print command is used to print a specified text file to a specified printing device.

16
Prompt

The prompt command is used to customize the appearance of the prompt text in Command Prompt.

17
Pushd

The pushd command is used to store a directory for use, most commonly from within a batch or script program.

18
Qappsrv

The qappsrv command is used to display all Remote Desktop Session Host servers available on the network.

19
Qprocess

The qprocess command is used to display information about running processes.

20
Qwinsta

The qwinsta command is used to display information about open Remote Desktop Sessions.

21
Rasautou

The rasautou command is used to manage Remote Access Dialer AutoDial addresses.

22
Rasdial

The rasdial command is used to start or end a network connection for a Microsoft client.

23
Rcp

The rcp command is used to copy files between a Windows computer and a system running the rshd daemon.

24
Rd

The rd command is the shorthand version of the rmdir command.

25
Recover

The recover command is used to recover readable data from a bad or defective disk.

26
Reg

The reg command is used to manage the Windows Registry from the command line. The reg command can perform common registry functions like adding registry keys, exporting the registry, etc.

27
Regini

The regini command is used to set or change registry permissions and registry values from the command line.

28
Regsvr32

The regsvr32 command is used to register a DLL file as a command component in the Windows Registry.

29
Relog

The relog command is used to create new performance logs from data in existing performance logs.

30
Rem

The rem command is used to record comments or remarks in a batch or script file.

31
Ren

The ren command is the shorthand version of the rename command.

32
Rename

The rename command is used to change the name of the individual file that you specify.

33
Replace

The replace command is used to replace one or more files with one or more other files.

34
Reset

The reset command, executed as reset session, is used to reset the session subsystem software and hardware to known initial values.

35
Rexec

The rexec command is used to run commands on remote computers running the rexec daemon.

36
Rmdir

The rmdir command is used to delete an existing and completely empty folder.

37
Route

The route command is used to manipulate network routing tables.

38
Rsh

The rsh command is used to run commands on remote computers running the rsh daemon.

39
Rsm

The rsm command is used to manage media resources using Removable Storage.

40
Runas

The runas command is used to execute a program using another user's credentials.

41
Rwinsta

The rwinsta command is the shorthand version of the reset session command.

42
Sc

The sc command is used to configure information about services. The sc command communicates with the Service Control Manager.

43
Schtasks

The schtasks command is used to schedule specified programs or commands to run a certain times. The schtasks command can be used to create, delete, query, change, run, and end scheduled tasks.

44
Sdbinst

The sdbinst command is used to deploy customized SDB database files.

45
Secedit

The secedit command is used to configure and analyze system security by comparing the current security configuration to a template.

46
Set

The set command is used to enable or disable certain options in Command Prompt.

47
Setlocal

The setlocal command is used to start the localization of environment changes inside a batch or script file.

48
Setver

The setver command is used to set the MS-DOS version number that MS-DOS reports to a program.

The setver command is not available in 64-bit versions of Windows XP.

49
Sfc

The sfc command is used to verify and replace important Windows system files. The sfc command is also referred to as System File Checker and Windows Resource Checker.

50
Shadow

The shadow command Is used to monitor another Remote Desktop Services session.

51
Share

The share command is used to install file locking and file sharing functions in MS-DOS.

The share command is not available in 64-bit versions of Windows XP and is only available in 32-bit versions to support older MS-DOS files.

52
Shift

The shift command is used to change the position of replaceable parameters in a batch or script file.

53
Shutdown

The shutdown command can be used to shut down, restart, or log off the current system or a remote computer.

54
Sort

The sort command is used to read data from a specified input, sort that data, and return the results of that sort to the Command Prompt screen, a file, or another output device.

55
Start

The start command is used to open a new command line window to run a specified program or command. The start command can also be used to start an application without creating a new window.

56
Subst

The subst command is used to associate a local path with a drive letter. The subst command is a lot like the net use command except a local path is used instead of a shared network path.

57
Systeminfo

The systeminfo command is used to display basic Windows configuration information for the local or a remote computer.

58
Taskkill

The taskkill command is used to terminate a running task. The taskkill command is the command line equivalent of ending a process in Task Manager in Windows.

59
Tasklist

Displays a list of applications, services, and the Process ID (PID) currently running on either a local or a remote computer.

60
Tcmsetup

The tcmsetup command is used to setup or disable the Telephony Application Programming Interface (TAPI) client.

61
Telnet

The telnet command is used to communicate with remote computers that use the Telnet protocol.

62
Tftp

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.

63
Time

The time command is used to show or change the current time.

64
Title

The title command is used to set the Command Prompt window title.

65
Tlntadmn

The tlntadmn command is used to administer a local or remote computer running Telnet Server.

66
Tracerpt

The tracerpt command is used to process event trace logs or real-time data from instrumented event trace providers.

67
Tracert

The tracert command is used to show details about the path that a packet takes to a specified destination.

68
Tree

The tree command is used to graphically display the folder structure of a specified drive or path.

69
Tscon

The tscon command is used to attach a user session to a Remote Desktop session.

70
Tsdiscon

The tsdiscon command is used to disconnect a Remote Desktop session.

71
Tskill

The tskill command is used to end the specified process.

72
Tsshutdn

The tsshutdn command is used to remotely shut down or restart a terminal server.

73
Type

The type command is used to display the information contained in a text file.

74
Typeperf

The typerperf command displays performance data in the Command Prompt window or writes the data to specified log file.

75
Unlodctr

The unlodctr command removes Explain text and Performance counter names for a service or device driver from the Windows Registry.

76
Ver

The ver command is used to display the current Windows version.

77
Verify

The verify command is used to enable or disable the ability of Command Prompt to verify that files are written correctly to a disk.

78
Vol

The vol command shows the volume label and serial number of a specified disk, assuming this information exists.

79
Vssadmin

The vssadmin command starts the Volume Shadow Copy Service administrative command line tool which displays current volume shadow copy backups and all installed shadow copy writers and providers.

80
W32tm

The w32tm command is used to diagnose issues with Windows Time.

81
Wmic

The wmic command starts the Windows Management Instrumentation Command line (WMIC), a scripting interface that simplifies the use of Windows Management Instrumentation (WMI) and systems managed via WMI.

82
Xcopy

The xcopy command can copy one or more files or directory trees from one location to another.

More From Us