OS1 Tutorial Questions
OS1 Tutorial Questions
OS1 Tutorial Questions
The Dos operating system allows you to control the computer's behaviour and functionality.
It is a command-line operating system, which implies that you must use commands on the
command line interface to achieve your desired results.
Internal commands are loaded into the system memory during system
booting. These internal commands may not be seen, modified, detected, or deleted because
they do not exist in the form of a file. An internal command is the MS-DOS command stored
in system memory and loaded from command.com or cmd.exe
1. DIR:- (Directory) Dir command is used for listing files and directories
present in the current disk.
Type DATE without parameters to display the current date setting and
a prompt for a new one. Press ENTER to keep the same date.
Type TIME with no parameters to display the current time setting and a prompt for
a new one. Press ENTER to keep the same time.
4. CLS:- (Clear the screen) This command is used to clear the screen or wipe
out every thing written on the screen.
5. COPY CON:- This command gives the facility to create a new text file.
Suppose we don't want to save the file or we just want to abort from file creation
job, then we simply press ^C (CTRL+C) button to abort without saving the file.
External commands
External commands are stored in the system memory after system booting. These
external commands may easily be viewed, changed, deleted, or copied as they are
present in the form of a file.
1. EDIT
This command is used to modify or change the data of a file.
Syntax is
C:\> EDIT filename
2. XCopy
It is used to copy all the files in a directory, including the files in
the sub-directories of that directory.
Syntax : C:\>xcopy < source> < destination>
3. Label
It lets you create, modify or delete the label assigned to a disk.
Syntax : C:\>label < drive name>
4. Print
It prints a text file.
Syntax : C:\>print < filename>
5. DISKCOPY
This command copies the contents of one floppy from the source drive to a
formatted or un-formatted floppy disk in the destination drive.
Syntax
Diskcopy A: B:
copies contents of A: to B: drive.