Professional Documents
Culture Documents
OF
BBA-111
(Computer Applications)
1. MS-DOS 4
2. INTERNAL COMMANDS 4 - 13
3. EXTERNAL COMMANDS 14 – 25
6. INTRODUCTION TO MS-WORD 28
TYPES OF COMMAND
Internal command
An internal command is an MS-DOS command that is stored in the system memory and
loaded from the command.com or cmd.exe. The illustration shows how commands contained
within command.com are part of the command.com file. However, with the external
commands, each command is a separate file
External command
An external command is an MS-DOS command that is not included in command.com.
External commands are commonly external either because they require large requirements or
are not commonly used commands. The illustration shows each of the external commands are
separate files. However, the internal commands are all included in the command.com file.
.
Internal Command
1. DATE
This command is used to display the system current date setting and prompt you to enter a new
date. The syntax is: DATE [/T | date]
OUTPUT
If you type DATE without parameters then it displays current date and prompts to enter new
date. We should give new date in mm-dd-yy format. If you want to keep the same date just
Press ENTER. DATE command with /T switch tells the command to just output the current
system date, without prompting for a new date.
2. TIME
This command is used to displays or set the system time. The syntax is: TIME [/T | time]
OUTPUT
Same as DATE command, typing TIME with no parameters displays the current time and a
prompt for a new one. Press ENTER to keep the same time. TIME command used with switch
tells the command to just output the current system time, without prompting for a new time.
3. COPY CON
It is used to create a file in the existing directory .Here CON is a DOS reserved word which
stands for console.
Syntax is: COPY CON filename after that press Enter and start typing your text and after
you’re done typing your text, to save and exit hit F6 key.
OUTPUT
4 . TYPE
This command is used to display the contents of a text file or files. The syntax
is: TYPE [drive:][path]filename
Now, lets try to display the contents of the file named filename we’ve created earlier
using COPY CON command.
OUTPUT
5. CLS
It is used to clear the screen. Syntax is CLS
OUTPUT
6. REN
This command is used to change/modify the name of a file or files.
Syntax is: REN [drive:] [path] filename1 filename2.
Here, filename1 is source file for which you wanted to change the name, and filename2
will obviously becomes your new file name. Also note that you cannot specify a new
drive or path for your destination file.
OUTPUT
7. DIR
This command displays a list of files and subdirectories in a directory. Syntax
is: DIR [drive:] [path] [filename][/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N] [/O[[:]sort
order]] [/P] [/Q] [/S] [/T[[:]timefield]] [/W] [/X] [/4]
[drive:][path][filename] Specifies drive, directory, and/or files to list.
/N Display in new long list format where filenames are on the far right.
This sorts and displays the list based on time field specified. C for
T:timefield Creation, A for Last Access, W for Last Written
This is used to display the short names generated for non-8dot3 file
/X names.
OUTPUT
8. PATH
This command displays the path that how we have come to the present position or
sets a search path for executable files.
Its Syntax is PATH [[drive:]path[;…][;%PATH%]]
Typing PATH without any parameters displays the current path under current directory.
Typing PATH ; clears all search-path settings and direct cmd.exe to search only in the
current directory. And including %PATH% in the new path setting causes the old path
to be appended to the new setting.
OUTPUT
9.VER
This command displays the version of the Microsoft Windows running on your
computer.
OUTPUT
10. VOL
It displays the disk volume label and serial number, if they exist for the drive specified.
If no drive is specified it displays for the active drive.
Syntax is VOL [drive:]
OUTPUT
11. DEL/ERASE
Use to delete one or more files.
Syntax is DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
Here,
tr>
Delete files based on specified attribute. The attributes are: R for Read-
only files, S for System files, H for Hidden files, A for files ready for
/A:attributes archiving and – Prefix meaning not.
OUTPUT
12.COPY
This command is useful in copying one or more files to another file or location. Syntax
is COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B] [+ source [/A
| /B] [+ …]] [destination [/A | /B]]
The different switches that can be used with this command as follow along with their
use.
source It specifies the file or files to be copied.
destination This specifies the directory and/or filename for the new file or files.
OUTPUT
14. PROMPT
This changes the cmd.exe command prompt. By default the prompt is always set to the
name of current drive followed by > sign.
$B | (pipe character)
$C ( (Left parenthesis)
$D Current date
$F ) (Right parenthesis)
$L < (less-than sign) $N Current drive $Q = (equal sign) $T Current time $V Windows
XP version number $_ Carriage return and linefeed $$ $ (dollar sign)
OUTPUT
15. MEM
The mem command is an external command that is available for the following Microsft
operating systems as mem.exe.
Displays the amount of used and free memory in your
system.
OUTPUT
EXTERNAL COMMANDS
1 TREE
This command is very useful to view the list of directories and subdirectories present
on the disk in graphical form. Here is the syntax for this command with allowed
switches: TREE [drive:path] [/F][/A]
OUTPUT
2 XCOPY
This command is used to copy files anddirectory trees from one disk to another
disk. Syntax is XCOPY source [destination] [/A|/M] [/D[:date]] [/P] [/S[/E]]
OUTPUT
3. LABEL
It is used to create, change, or delete the volume label of a disk. Syntax is LABEL
[drive:] [label] LABEL [/MP] [volume] [label]
OUTPUT
4. DISKCOPY
OUTPUT
5. CHKDSK
This command is used to check a disk and display a status report with properties of
disk like serial number, volume label, memory and other properties along with errors on
the disk any.
OUTPUT
6. DOSKEY
This command is generally used to edits command lines and recalls commands. Syntax
is DOSKEY [/REINSTALL] [/HISTORY] [text]
OUTPUT
7. DELTREE
This command is used to remove a directory along with its contents. Syntax is: deltree
[drive:path]
OUTPUT
8. FIND
This command searches for a specific text string in a file or files. Syntax is FIND [/V]
[/C] [/N] [/I] [/OFF] “string”[[drive:][path]filename[…]]
OUTPUT
9. SORT
This command is used to arrange the data of a file in alphabetical order (A-Z, 0-9) or
reverse alphabetical order. Syntax is SORT [/R] [[drive1:][path1]filename1]
[/T[drive2:][path2]] [/O[drive3:][path3]filename3]
OUTPUT
10.FORMAT
This command creates a new root directory and a file allocation table(FAT) for the disk.
In order for MS-DOS to be able to use a new disk you must use this command to
format the disk.
• FORMAT with /S switch
When the disk is formatted with /s option, the disk can be used as a booting
disk. C:>DOS>Format A: /s
• FORMAT with /U switch
This command specifies an unconditional format which destroys all existing data
and prevents you from later unformatting the disk. C:DOS>FORMAT A: /U
• FORMAT with /Q switch
This can be used only with the previously formatted disk. This deletes FAT, Root
directory and data of disk but doesn’t scan for the bad errors. This is generally
used for Quick Formatting.
OUTPUT
11. BACKUP
The backup command backs up one or more files from one disk to another. You can
backup files onto either a hard disk or on a floppy disk. Syntax is BACKUP Source
Destination. Backup with Switches
• The /S switch can be used to backup the contents of all files in the source
including the contents of sub-directories.
• The /N switch can be used to backup only those files that have changed since
the last backup.
• Backup command with /D:mm-dd-yyyy switch will backup files that have changed
since the data specified.
OUTPUT
12. ATTRIBUTE
It sets or displays the read-only, archive, system, and hidden attributes of a file or
directory. You can change a file’s read/write attribute or set the archive attribute.
OUTPUT
13. SYS
It is a command of Seattle Computer Products 86-DOS, Microsoft MS-DOS, IBM PC
DOS, Digital Research FlexOS, IBM/Toshiba 4690 OS and Microsoft Windows 9x
operating systems. It is used to make an already formatted medium bootable.
14. DISKCOMP
It is a command used for comparing the complete contents of a floppy disk to another
one.
OUTPUT
15. MORE
In computer, more is a command to view (but not modify) the contents of a text file one screen
at a time. It is available on unix and systems, , IBM and Programs of this sort are called
more is a very basic pager, originally allowing only forward navigation through a file though
newer implementations do allow for limited backward movement.
OUTPUT
16. MOVE
In computing, move is a command in various command-line interpreters (shells) such
[1]
as COMMAND.COM , cmd.exe , 4DOS/4NT, and PowerShell. It is used to move one or
more files or directories from one place to another.[2] The original file is deleted, and the new
file may have the same or a different name. The command is analogous to
the Unix mv command and to the OpenVOS move_file and move_dir commands
OUTPUT
17. PRINT
The print statement is used to send output to the standard output unit ( usually your monitor,
or sometimes your printer ) of your computer system.
OUTPUT
18. EDIT
The MS-DOS text editor, edit, allows you to view, create, or modify any text file on your
computer.
OUTPUT
19 FDISK
In computing, the fdisk command-line utility provides disk-partitioning functions - for
example: preparatory to defining file systems. fdisk features in
the DOS, DR FlexOS, IBM OS/2, and Microsoft Windows operating systems, and in certain
ports of FreeBSD,[2] NetBSD,[3] OpenBSD,[4] DragonFly BSD[5] and macOS[6] for
compatibility reasons. In versions of the Windows NT operating-system line from Windows
2000 onwards, fdisk is replaced by a more advanced tool[7] called diskpart . Similar utilities
exist for Unix-like systems
OUTPUT
20 Restore
1 Start your computer in Safe Mode with Command Prompt. During the computer
start process, press F8 key on your keyboard multiple times until the Windows
Advanced Options menu appears, then select Safe mode with Command Prompt
from the list and press ENTER.
2. When Command Prompt Mode loads, enter the following line: cd restore and press
ENTER.
5. Select one of the available restore points and click 'Next' (this will restore your
computer system to an earlier time and date).
WILDCARD IN MS-DOS
The asterisk (*) and question mark (?) are used as wildcard characters, as they are in MS-DOS
and Windows. The asterisk matches any sequence of characters, whereas the question mark
matches any single character. In its long form, Dialect 2 uses the {regex} tag with the asterisk
or the question mark to specify the wildcard characters. In its short form, Dialect 2 uses the
equal sign (=) to indicate that wildcard characters are used. Essentially, "=" turns on the MS-
DOS/Windows wildcard character mode. If no equal sign is used, a CONTAINS operator is
assumed.
OUTPUT
BATCH FILE
The batch command is a Recovery Console command that
executes a series of commands. See the batch command page
for full information on this command. A batch file or batch
job is a collection, or list, of commands that are processed in
sequence often without requiring user input or intervention. With
a computer running a Microsoft operating system such as
Windows, a batch file is stored as a file with a .bat file extension.
Other operating systems may define a batch job in a shell script,
containing a list of commands to be executed one after the other.
Output
MS WORD
Microsoft Word is a word processor developed by Microsoft. It was first released on October
25, 1983,[7] under the name Multi-Tool Word for Xenix systems.[8][9][10] Subsequent versions
were later written for several other platforms including IBM PCs running DOS (1983), Apple
Macintosh running the Classic Mac OS (1985), AT&T UNIX PC (1985), Atari
ST (1988), OS/2 (1989), Microsoft Windows (1989), SCO Unix (1994), and macOS (2001).
OUTPUT
8 CHRISTMAS CARD USING HOME MENU
OUTPUT
9 CREATE A TABLE OF DATA OF FIVE STUDENTS
OUTPUT
10 INSERT A PICTURE AND USE FORMATTING ON IMAGE
OUTPUT
11 INSERT A COMPONENT OF COMPUTER USING SHAPES
OUTPUT
OUTPUT DEVICES
INPUT DEVICES PROCESSOR AND
PRIMARY STORAGE (SPEAKER ETC)
(MOUSE ETC)
SECONDARY
STORAGE DEVICES
OUTPUT
13 INSERT A CHART IN WORD DOCUMENT
OUTPUUT
Chart Title
98 98
100
76 77 76
80 64 65 65
60 45 43 43
34
40
20
0
ARJUN BHEEM PRERIT PIYUSH
OUTPUT
16 INSERT HEADER AND FOOTER
OUTPUT
17 INSERT A PAGE NUMBER
OUTPUT
OUTPUT
COMPUTER APPLICATION
A PROGRAMMERS PERSPECTIVE
jAYANT GOYAL
12-Feb-21
19 USE WATER MARK , PAGE BORDER AND PAGE COLOR IN
DOCUMENT
OUTPUT
20 USE MARGIN AND COLUMNS IN DOCUMENT
OUTPUT
21 CREATE A DOCUMENT USING INSERT FOOT NOTE AND
CITATION
OUTPUT
22 CREATE A LETTER USING MAIL MERGE
OUTPUT
23 SPELLING AND GRAMMER, WORDCOUNT TRANSLATE
COMMENT IN DOCUMENT
OUTPUT
24 CREATE A DOCUMENT USING RULER GRID AND READ MODE
OUTPUT
25 CREATE A DOCUMENT USING ZOOM OPTION IN DOCUMENT
OUTPUT
26 USE MACROS
OUTPUT
27 INTODUCTION TO MS-EXCEL
Microsoft Excel is a software program produced by Microsoft that allows users to organize,
format and calculate data with formulas using a spreadsheet system. This software is part of
the Microsoft Office suite and is compatible with other applications in the Office suite.
OUTPUT
OUTPUT
33 RECENTLY USED FUNCTION
OUTPUT
34 AUTO SUM FUNCTION
OUTPUT
35 MACRO IN EXCEL
OUTPUT
36 USE OF PIVOT TABLE IN EXCEL
OUTPUT
MS-POWER POINT
OUTPUT
44 VIEW MENU
OUTPUT
NORMAL VIEW
OUTLINE VIEW
SLIDE SORTER
NOTES PAGE
READING VIEW
SLIDE MASTER
HANDOUT MASTER
NOTES MASTER