Basic DOS Commands

CommandDescriptionExample
DIRDisplays files and subdirectories in the current directorydir
CDChanges the current working directorycd [directory_name]
MDCreates a new directorymd [directory_name]
RDDeletes a directoryrd [directory_name]
COPYCopies files from one location to anothercopy [source] [destination]
DELDeletes one or more filesdel [file_name]
RENRenames a file or directoryren [old_name] [new_name]
CLSClears the screen of all previous commands and outputscls
TYPEDisplays the contents of a text filetype [file_name]
ECHODisplays messages or turns command echoing on/offecho [message]
EXITCloses the Command Prompt windowexit
HELPDisplays information about available commandshelp

Leave a Reply