Monday, June 6, 2011

Important DOS commands in XP

command Description
ipconfig /all Display IP Configuration
ipconfig /displaydns Display DNS Cache
ipconfig /flushdns Delete DNS Cache
ipconfig /release Release All Connections
ipconfig /renew Renew All Connections
ipconfig /registerdns Refreshes DHCP & Registers DNS
ipconfig /showclassid Display DHCP Class ID
ipconfig /setclassid Modifies DHCP Class ID
systeminfo Displays detailed configuration information



systeminfo Displays detailed configuration information
assoc Displays or modifies file name extension associations
at command for scheduled tasks
attrib Configures file attributes read only, hidden, system
bootcfg Used to repair or edit the boot.ini file details
cd or chdir Displays the name of the current directory or changes the current folder
chkdsk Checks hard drives for errors
cls Clears the screen
copy Copies a file from one location to another
del Deletes one or more files
dir Displays a list of a folders
echo Used to display a message or to turn off/on messages in batch scripts
exit Exits batch script or current command control
fc Compares two files and displays the differences between them
fsutil Displays and configures certain file system properties.
ftype Displays or modifies file types used in file name extension associations
getmac Returns the media access control (MAC) address for your network card
md or mkdir Creates a directory or subdirectory
more Displays one screen of output at a time.
move Moves a file from one folder to another
net A suite of various networking and service commands
netsh Network services shell . Complex suite of commands.
netstat Displays active TCP connections, ports on which the computer is listening, Ethernet statistics, the IP routing table, statistics for the IP, ICMP, TCP, and UDP protocols
path Sets the command path in the PATH environment variable, which is the set of directories used to search for executable files
pathping Provides information about network performance and conditions at intermediate hops between a source and destination
powercfg Manages the power settings such as hibernation
reg Adds, changes, and displays registry entries.
rd or rmdir Deletes a directory (folder)
ren or rename rename a file or a set of files
sc Used to obtain information about services and to configure them
schtasks Schedules commands and programs to run periodically
sfc /scannow System file checker scans and verifies the versions of all protected system files
shutdown Shuts down or restarts a computer
start Starts an application or opens a new command window
subst Associates a folder with a drive letter
taskkill Ends one or more tasks or processes
tasklist Displays a list of applications and services with their Process ID (PID)
tree Graphically displays the directory structure of a folder or drive
type Displays the contents of a text file
xcopy for copying and backing up files and folders

No comments:

Post a Comment