
















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
This tutorial provides an overview of the Disk Operating System (DOS) and its role in controlling the computer's hardware and providing an environment for programs to run. It covers various DOS commands such as 'echo', 'pause', 'net use', 'dir', 'copy', 'type', 'ren', 'md', 'cd', 'prompt', and 'del'. The tutorial also explains how to create, rename, and delete files and subdirectories using DOS.
Typology: Summaries
1 / 24
This page cannot be seen from the preview
Don't miss anything!

















Doss Tutorial DOS = Disk Operating System The DOS controls the computer’s hardware and gives an environment for programs to run. This system program must always be current when working with your computer. Why you need it?
Firstly type date at the prompt, if it is wrong then type the write date in: (dd-mm-yy )
Press the enter key Type time at the prompt if it is wrong then type time in format below example: : 8:46:03:59 (this show Nano secs) Press return
The directory will have list of Filenames, File extensions, Size of each file and Date and time the file was last updated. Type: dir and press return By CTRL AND LETTER S at the same time, you are able to freeze the listing to view your files
First type dir*.bat and press enter. Now all files with the .bat extension are listed
Press F3 key Now backspace three times and replace the (.bat) extension with the .sys extension and press enter. Now all files with the .sys extension should now be listed.
Enter in: CLS at the C:> Prompt then press enter.
Enter in : copy con Quick.Itr and press return
Firstly, type in copy quick.Itr quick.bac then press enter After type in dir q* then press enter Three files should be now listed on the screen.
If you need to check the contents of a parriticular file/any DOS file you will need to use the TYPE command Enter in: type quick2.Itr and press return
DOS prints the contents of the file. Never use the TYPE command with files that have the .com, .exe, .sys, and .bas extensions. These are program files and will only display junk on the screen
This command lets you rename the before file with a new name Firstly, type in ren quick2.Itr sales.Itr and press return Type dir *.Itr and press return Now DOS will only display the screen 2 files that have the .Itr extension: quick.Itr and sales.Itr
At first you need to type in: ren *.Itr *.bob and press return
Once you have created a subdirectory, to move to that directory, you will use the CHANGE DIRECTORY command, a.k.a. CD. Directions:
You can set or change the standard system prompt to display the name of the directory or subdirectory you are currently working in. Directions:
The COPY command lets you copy files from one directory to another. Directions:
file is also in the root directory.
When copying a group of files from the root directory into a subdirectory, it is necessary to use the wildcard character ***** along with the COPY command. Directions:
The DIRECTORY command is also used to get a listing of all the files in the root directory while in a subdirectory. The backslash character ** represents the root directory. Directions:
To look for a specific filename extension, you can use the SELECTED DIRECTORY command. Directions:
NOTE: The backslash character ** directs DOS to read from the root directory. The *. requests the listing of the subdirectories.
Periodically it is a good idea to delete files from the hard disk which are no longer needed or used. DOS makes it easy to remove these files with the DELETE command, a.k.a. DEL. Directions:
By using the wildcard character ***** you can delete a group of files from your hard drive. Directions: