Bce - Lab 1
Bce - Lab 1
A.Internal commands: The internal commands are those commands that are
automatically loaded in the memory. Some commonly used DOS internal
commands are
1 Cls
2. Dir
3. Date
4. Time
5. Ver
6. Copycon
7. Type
8. Ren
9. Del
10. MD
11. CD
12. RD
13. Copy
1) Cls :- The purpose of this command is to clear the display screen and redisplay
the Dos prompt at the top left corner of the screen.
Wild cards: - It is the set of special characters wild are used with some commonly
used DOS commands there are two types of wild cards.
1. Asterisk (*˜)
2. Question mark (?)
2. Question mark: - This wild card represents a single character that a group or files
have in common.
1) C : / > dir ac .* ˜- will display all files having any first character and remaining
name has given in command.
2) C : / > dir ??? R . doc-will display all files having extension doc and having any first
three letters and fourth letter is R.
3) Date: - It displays the current system date. User can also change the current date
with new date by using this command.
4. Time : - It displays the current systems time user can also change existing time with
new time by using this command.
Saves the contents of file by pressing ctrl +z key combination at the last time of the
file. File name should not be greater than 11 characters out of which 8 characters are
for the name and 3 characters are for the extension.
Extension is optional :
Eg : C : / > copy con ram
I am a good boy
1. File is copied.
C:/>
8. REN : - The purpose of this command is to rename the old file name with new file
name.
9. DEL:- The purpose of this command is to delete file. The user can also delete
multiple files by busing this command and long with while cards.
Ex : C : / > MD college
Now user wants to create a sub directory first year in college directory then
C : / > cd college
C : / > college > Md first year
11. CD : - The purpose of this command is to change from one director to another
directory or sub – directory.
Ex : C: / > cd college
C : / > college > CD first year
C : / > college > first year >
If the user wants to move to the parents directory then use CD command as
C : / > college > first year > cd ….
C : / > college >
13. COPY: The purpose of this command is to copy one or more specified files to
another disk with same file name or with different file name.
1. CHKDSK:- The command CHSDK returns the configuration status of the selected
disk. It returns the information about the volume, serial number, total disk space, space
in directories, space in each allocation unit, total memory and free memory.
2. Diskcopy : - Disk copy command is used to make duplicate copy of the disk like
Xerox copy. It first formats the target disk and then copies the files by collection. From
the source disk and copied to the target disk.
Syntax : - C : / > disk copy < source path > < destination path >
Ex: - c : / > diskcopy A : B :
NOTE: - This command is used after diskcopy command to ensure that disk is copied
successfully.
4. Label : This command is used to see volume label and to change volume label.
5.Scandisk : - This utility is used to repair and check various disk errors. It also
defects various physical disk errors and surface errors.
Syntax : - C : / > scandisk < drive names >
C : / > Scandisk A :
6. Move : The purpose of move is move to files from one place to another place.
Syntax: C : / > Move < source path > < target path >
7. Print :This command allowed users to print a text file to a line printer.
Syntax : C : / > Print < files name >
C : / > print ramu
8. Tree : This command displays the list of directories and files on specified path using
graphical display. It displays directories of files like a tree.
9. Deltree: This command is used to delete files a directories same as by the del and
RD commands. This command is more useful than del and RD commands because it
completely removes specified directories ie., disk will all it files and sub – directories
at a time.
My Computer:-My computer window displays all the contents of your computer disk
drives on two panels. We can open this wndow by double clicking the my computer icon
on desktop or select my computer from start menu option.
The right panel of this window displays the content of your floppy disk, hard disk, CD-
ROM drive and network drive attached to the system. Infact, now-a-days we can attached
removable drives like the pen drive.
The left panel give us four important links:-
1). My Network Place
2). My Document
3). Shared Documents
4). Control Panel
The documents, data and files which use save by default they are saved in my document
folder which can be easily access. “My Document” is created by windows itself in the c:
drive. Using these above links we can search for and open files and folders on our
computer.
1). File:-The first menu of My Computer is ‘File’. It allows to delete, rename files. It can
create shortcuts to a particular folder and to view the properties of a drive. It allows to
close a file.
2). Edit:- It allows the user to cut,copy,paste,move a folder or a file. Undo allows to back
a done process. It also allows select all contents in the file.
3). View:-It is used to arrange the icons or file. It contains tool bar, status bar, explorer
bar, thumbnails, arrange icon, choose details, go to several drives and to refresh.
4). Favorites:-To create a special criteria of some special files and the most used files. İt
contains Add to favorites, organize favorites links.
5). Tools:- It contains the settings, configuration which is used in folders an it has many
other file folder options.
6). Help:- it is used to understand some difficult process. İt contains knowledge about the
Operating system and of folders. It provide help to use to know the process.
Control panel:-The control panel is a feature of the window operating system that
allows the user to modify system setting and control. It includes several applications or
control panel that can be used to view and change hardware or software settings. Some
example of hardwarecontrol panel are display, keyboard and mouse settings. Software
control panel includes date and time, power option, fonts and administraor tools.
File:-A file is a collection of data stored in one unit, identified by a file name. It can be a
Document, picture, audio or video stream, data library, application or other collection of
data. Files can be opened, saved, deleted and moved to different folders. They can also be
transferred across network connections or downloaded from the internet. A file type can
be determined by viewing the file icon or by reading the file extension. İf the file type is
associated with a specific application, double clicking the file file will typically open the
file within the program.