DOS and Windows 2000 Commands

For all you people that don't have a clue about navigation through DOS or Windows 2000 console, this may help:
Usually if you put a /? after a command, you will get more info on how to use the command.

Dos:  
Command Description/Usage
     CD Command: you normally use this to open a directory EX: "cd shazbot" will open a folder called "shazbot" if it is in the current scope (directory).
     CONTROL Simply type "control" in your dos prompt to bring up your control panel. Only works in windows.
     DIR Refresh Directory: Lists the contents of a directory and information about the files in the directory you are in. simply type "dir" and the contents of the place you are in are displayed.
     FTP Just trpe in "ftp" and you get some sort of dos ftp program
     NBTSTAT Displays protocol statistics and current TCP/Ip connections using NetBIOS over TCP/IP.
     NETSTAT Net Stat: Shows ALL the connections to your computer and the port number they are on. Say you needed to know a website or an ICQ buddy's IP, well, just go to the server or message them, and type in "netstat", seconds later, tada, the IP address you are looking for.
     PING Ping: To get your ping time to any server, just type in "ping servernamegoeshere". Type ping/? for more usage options.
     TRACERT Trace Route: Traces the Hops from your IP (computer) to another IP (server or computer) EX: "tracert www.yahoo.com" would trace the hops and give you 3 different ping times for each hop.
     NSLOOKUP nslookup: ns is short for DNS. This program will take any hostname and give you its IP address or addresses or if you give it the IP address, it will give you a server name.
Windows 2000:  
Command Description/Usage
ASSOC    
AT       
ATTRIB
BREAK    
CACLS    
CALL    
CD      
CHCP     
CHDIR    
CHKDSK   
CHKNTFS  
CLS      
CMD      
COLOR    
COMP     
COMPACT  
CONVERT  
COPY     
DATE     
DEL      
DIR     
DISKCOMP 
DISKCOPY 
DOSKEY   
ECHO     
ENDLOCAL 
ERASE    
EXIT     
FC       
FIND     
FINDSTR 
FOR      
FORMAT   
FTYPE    
GOTO     
GRAFTABL 
HELP     
IF       
LABEL    
MD       
MKDIR    
MODE     
MORE     
MOVE     
PATH     
PAUSE    
POPD     
PRINT    
PROMPT  
PUSHD    
RD       
RECOVER  
REM      
REN      
RENAME   
REPLACE 
RMDIR    
SET      
SETLOCAL 
SHIFT   
SORT     
START    
SUBST    
TIME     
TITLE    
TREE     
TYPE     
VER      .
VERIFY  
VOL      
XCOPY    

 

Displays or modifies file extension associations
Schedules commands and programs to run on a computer.
Displays or changes file attributes.
Sets or clears extended CTRL+C checking.
Displays or modifies access control lists (ACLs) of files.
Calls one batch program from another.
Displays the name of or changes the current directory.
Displays or sets the active code page number.
Displays the name of or changes the current directory.
Checks a disk and displays a status report.
Displays or modifies the checking of disk at boot time.
Clears the screen.
Starts a new instance of the Windows 2000 command interpreter.
Sets the default console foreground and background colors.
Compares the contents of two files or sets of files.
Displays or alters the compression of files on NTFS partitions.
Converts FAT volumes to NTFS.  You cannot convert the current drive.
Copies one or more files to another location.
Displays or sets the date.
Deletes one or more files.
Displays a list of files and subdirectories in a directory.
Compares the contents of two floppy disks.
Copies the contents of one floppy disk to another.
Edits command lines, recalls Windows 2000 commands, and creates macros.
Displays messages, or turns command echoing on or off.
Ends localization of environment changes in a batch file.
Deletes one or more files.
Quits the CMD.EXE program (command interpreter).
Compares two files or sets of files, and displays the differences between them.
Searches for a text string in a file or files.
Searches for strings in files.
Runs a specified command for each file in a set of files.
Formats a disk for use with Windows 2000.
Displays or modifies file types used in file extension associations.
Directs the Windows 2000 command interpreter to a labeled line in a batch program.
Enables Windows 2000 to display an extended character set in graphics mode.
Provides Help information for Windows 2000 commands.
Performs conditional processing in batch programs.
Creates, changes, or deletes the volume label of a disk.
Creates a directory.
Creates a directory.
Configures a system device.
Displays output one screen at a time.
Moves one or more files from one directory to another directory.
Displays or sets a search path for executable files.
Suspends processing of a batch file and displays a message.
Restores the previous value of the current directory saved by PUSHD.
Prints a text file.
Changes the Windows 2000 command prompt.
Saves the current directory then changes it.
Removes a directory.
Recovers readable information from a bad or defective disk.
Records comments (remarks) in batch files or CONFIG.SYS.
Renames a file or files.
Renames a file or files.
Replaces files.
Removes a directory.
Displays, sets, or removes Windows 2000 environment variables.
Begins localization of environment changes in a batch file.
Shifts the position of replaceable parameters in batch files.
Sorts input.
Starts a separate window to run a specified program or command.
Associates a path with a drive letter.
Displays or sets the system time.
Sets the window title for a CMD.EXE session.
Graphically displays the directory structure of a drive or path.
Displays the contents of a text file.
Displays the Windows 2000 version
Tells Windows 2000 whether to verify that your files are written correctly to a disk.
Displays a disk volume label and serial number.
Copies files and directory trees.

 

Note: Some Windows 2000 commands may work in DOS and practically all DOS commands work in Windows 2000


Back