XP System CMD Command Encyclopedia

  

For more information about a command, type HELP command name
assoc to display or modify the file extension association.
at The commands and programs that are scheduled to run on the computer.
attrib Displays or changes file attributes.
break Set or clear the extended CTRL+C check.
cacls Displays or modifies access control lists (ACLs) for files.
call Call this one from another batch.
cd Displays the name of the current directory or changes it.
chcp Displays or sets the number of active code pages.
chdir Displays the name of the current directory or changes it.
chkdsk checks the disk and displays a status report.
chkntfs Displays or modifies the boot time disk check.
cls Clear the screen.
cmd opens another Windows command interpreter window.
color Sets the default console foreground and background color.
comp compares the contents of two or two sets of files.
compact Displays or changes the compression of files on NTFS partitions.
convert Converts a FAT volume to NTFS. You cannot convert the current drive.
copy Copy at least one file to another location.
date Displays or sets the date.
del delete at least one file.
dir displays files and subdirectories in a directory.
diskcomp compares the contents of two floppy disks.
diskcopy copies the contents of one floppy disk to another floppy disk.
doskey Edit the command line, call Windows commands, and create macros.
echo displays the message, or turns the command back on or off.
endlocal Ends the localization of environment changes in the batch file.
erase Delete at least one file.
exit Exit the CMD.EXE program (command interpreter).
fc compares two or two sets of files and shows the differences.
find Searches for a text string in a file.
findstr searches for a string in a file.
for runs a specified command for each file in a set of files.
format Format the disk for use with Windows.
ftype Displays or modifies the file type used for file extension associations.
goto points the Windows command interpreter to a line indicated in the batch program.
graftabl Enable Windows to display the extended character set in image mode.
help Provides help information for Windows commands.
if Execute conditional processing in the batch program.
label Create, change, or delete a volume label for a disk.
md creates a directory.
mkdir creates a directory.
mode Configure system devices.
more Displays a result screen at a time.
move Move files from one directory to another.
path Displays or sets the search path for executable files.
pause Pauses the processing of batch files and displays messages.
popd Restores the previous value of the current directory saved by PUSHD.
print Prints a text file.
prompt Change the Windows command prompt.
pushd saves the current directory and then changes it.
rd delete the directory.
recover Restores readable information from a problematic disk.
rem Records batch files or comments in CONFIG.SYS.
ren Rename the file.
rename Rename the file.
replace replaces the file.
rmdir deletes the directory.
set Displays, sets, or removes Windows environment variables.
setlocal Starts the localization of environment changes in the batch file.
shift Replaces the location of the replaceable parameter in the batch file.
sort Classifies the input.
start Start another window to run the specified program or command.
subst associates a path with a drive letter.
time Displays or sets the system time.
title Sets the window title of the CMD.EXE session.
tree Displays the directory structure of the drive or path in graphical mode.
type Displays the contents of the text file.
ver displays the Windows version.
verify tells Windows whether to verify that the file was written to disk correctly.
vol Displays the disk volume label and serial number.
xcopy Copy files and directory trees.
appwiz.cpl------------Add and remove programs

control userpasswords2--------User account settings

cleanmgr--- ---- Garbage finishing

CMD-------------- Command prompt can be regarded as an attachment to Windows, Ping, Convert These can not be used in the graphical environment The function needs to be done with it.

cmd------jview to view the Java virtual machine version.


command.com------ is called the system built-in NTVDM, a DOS virtual machine. It is completely a virtual environment like Virtual PC and has little to do with the system itself. When we run the DOS program at the command prompt, it is actually transferred to the NTVDM virtual machine, which has nothing to do with CMD itself.


calc-----------Start Calculator

chkdsk.exe-----Chkdsk Disk Check

compmgmt.msc ---Computer Management

conf-----------Start netmeeting

control userpasswords2-----User Account Permission Settings

devmgmt. Msc---Device Manager

diskmgmt.msc---Disk Management Utility

dfrg.msc-------Disk Defragmenter

drwtsn32 ------ System Doctor

dvdplay--------Start Media Player

dxdiag-----------DirectX Diagnostic Tool

gpedit.msc-------Group Policy Editor

gpupdate /target:computer /force Force Refresh Group Policy

eventvwr.exe-----Event View

explorer-------Open Resource Manager

logoff---------Logout Command

lusrmgr.msc---- Native users and groups

msinfo32---------System Information

msconfig---------System Configuration Utility

net Start (servicename)----Start the service

net stop (servicename)-----Stop the service

notepad--------Open Notepad

nusrmgr.cpl------- same cont Rol userpasswords, open the user account control panel

Nslookup-------IP address detector

oobe/msoobe /a----Check if XP is activated

perfmon.msc----Computer Performance Monitoring Program

progman--------Program Manager

regedit----------Registry Editor

regedt32-------Registry Editor

regsvr32 /u *.dll----Stop dll file run

route print-- ----View routing table

rononce -p ----15 seconds shutdown

rsop.msc-------Group policy result set

rundll32 .exe rundll32.exe %Systemroot%System32shimgvw.dll, ImageView_Fullscreen----Start a blank Windows Picture and Fax Viewer

secpol.msc--------Local Security Policy

services.msc---Local Service Settings

sfc /scannow-----Start System File Checker

sndrec32------- Recorder

taskmgr-----Task Manager (for 2000/xp/2003)

tsshutdn-------60 seconds countdown shutdown command

winchat---- ----XP comes with LAN chat

winmsd---------System information

winver---- - Display about Windows window

wupdmgr-----------Windows Update

Copyright © Windows knowledge All Rights Reserved