
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the basic commands for doing MS DOS and carrying out tasks there.
Typology: Summaries
1 / 1
This page cannot be seen from the preview
Don't miss anything!

To get into the root of any drive letter use “\” To change directory use - cd directory_name To make directory use - mkdir directory_name or md directory_name To display the current directory use or change the directory - chdir and chdir directory_name For clearing the screen use - cls To display or changes the file attributes use - attrib For starting a new instance of the windows command interpreter - cmd Comparing the contents of two or more files use - comp filenames Set the default console foreground and background color - color ; and to change it accordingly use the code - color -help and from the list choose the color value. Lets suppose, code is - “color 70” it means the the first number or letter is for background color and second for the foreground color. To copy one or more files to any destination use - copy filename destination path To display and set the date use - date To display and set the time use - time Delete one or more files use - del or erase Delete or remove the directory use - rd or rmdir To view the list of files and subdirectories - dir Displays the configuration of disk partition- diskpart To close the cmd shell - exit To inter and exit from the full screen - alt + enter To present the graphical structure of drive and directory- tree Displays the content of text file - type filename To display computer information- systeminfo To display windows version - ver To copy directory trees and files - xcopy To shutdown the computer - shutdown To restart- restart To replace files - replace To rename any file - ren and rename To format any drive or disk - format drive/disk letter To move files from one directory to another directory use - move Creation of multi line files - copy con Empty file - type null > filename To display any message and create a single line file - echo To search any text into any file - find