Академический Документы
Профессиональный Документы
Культура Документы
ANDHRA PRADESH
CM105.29to30 1
Objective:
Conventions used
Internal commands
CM105.29to30 2
Recap
Internal Commands
External Commands
CM105.29to30 3
Prerequisite:
CM105.29to30 4
Internal Commands
CM105.29to30 5
Internal Commands (contd)
CM105.29to30 6
Convention used in Command descriptions
are:
[] (BRACKETS)
Items within brackets are optional.
DRIVE
It refers to the drive name.
Example: C: A: B: etc
CM105.29to30 7
Convention used in Command descriptions
are (contd):
PATH
It refers to a directory name.
Syntax :[\drive_directory] [\directory…]\ directory
PATHNAME
It mentions the files that are to be referred in
the path. It is used to locate a file.
Syntax : [\drive_directory] [\directory…] \filename
CM105.29to30 8
Convention used in Command descriptions
are (contd):
SWITCHES
Example: /p /w etc.
CM105.29to30 9
Convention used in Command descriptions
are (contd):
WILDCARDS
CM105.29to30 10
Wild characters
DOS recognizes two wildcard characters:
CM105.29to30 11
Examples of wildcards
CM105.29to30 12
Examples of wildcards (contd)
CM105.29to30 13
Internal Commands
CM105.29to30 14
Internal Commands (contd)
Example:
C:\>VOL A :
Result
Volume in drive A is DBASEIII
Volume Serial Number is 0909-07BE
CM105.29to30 15
Internal Commands (contd)
CM105.29to30 16
Internal Commands (contd)
Example:
C>DATE
Result:
Current date is FRI 21-04-07
Enter the new date (mm- dd- yy): 20-04-08
Now the current date will be SUN 20-04-08
CM105.29to30 17
Internal Commands (contd)
CM105.29to30 18
Internal Commands (contd)
Example1
C>TIME
Result
Current time is 1:28:40.51
Enter the new time : 11:07:51.21
Now the current time will be ’11:07:51.21
CM105.29to30 19
Internal Commands (contd)
Example2
C>TIME 12:07:59
C>TIME
Result
Current time is 12:07:59
Enter the new time :
CM105.29to30 20
Internal Commands (contd)
CM105.29to30 21
Internal Commands (contd)
Example1
C>DIR
Result
Volume in drive C is DOS400
CM105.29to30 22
Internal Commands (contd)
Directory of C:\vinay
. <dir> 1-11-90 1:05
.. <dir> 1-09-90 13:05
BASIC EXE 67520 19-12-90 2:13
BUDGET BAS 814 1-01-91 1:45
FINAN90 BAS 3456 7-07-90 7:34
5 File (s) 4329472 bytes free
CM105.29to30 23
Internal Commands (contd)
Example2
C>DIR/W
Result
Selects wide display and lists up to files lines
per line.
CM105.29to30 24
Internal Commands (contd)
Example3
C>DIR/P
Result
Selects page mode and makes the directory
display to pause once the screen is filled.
To resume scrolling the display any key can
be pressed.
CM105.29to30 25
Internal Commands (contd)
Example:
C>TYPE message.dat>PRN
Result
It sends the contents of file “message.dat” to
the printer.
CM105.29to30 26
Internal Commands (contd)
CM105.29to30 27
Internal Commands (contd)
Example1
C>copy bpay.rpt basicpay.rpt
Result
It copies a file named ‘bpay.rpt’ in the same
drive as
another name called ‘basicpay.rpt’
CM105.29to30 28
Internal Commands (contd)
Example2
C>copy BPAY.RPT A:PROLL.RPT
Result
It copies a file bpay.rpt from current drive C
to drive A named as proll.rpt.
CM105.29to30 29
Internal Commands (contd)
Example3
C>COPY *.rpt + ref.txt summary.doc
Result
the above copy command combines all *.rpt
files and ref.txt files and stores in filename called
summary.doc
CM105.29to30 30
Internal Commands (contd)
Example
C>MKDIR letters
Result
It the above example, the command is used
to create a directory named letters.
CM105.29to30 31
Internal Commands (contd)
Example
C>CHDIR division
Result
The above command changes the working
directory to the directory called ‘division’.
CM105.29to30 32
Internal Commands (contd)
RMDIR/RD [drive:] path – It removes a directory
from a directory structure.
Example
C>RMDIR varsham
Result
The above command is used to remove the
directory named varsham.
Before removing the directory entirely, the
directory should be empty.
CM105.29to30 33
Summary
CM105.29to30 34
Frequently Asked Questions
CM105.29to30 35
Quiz
CM105.29to30 36
Quiz
CM105.29to30 37