Professional Documents
Culture Documents
CCP105
CCP105
CCP105
ANDHRA PRADESH
Name : M.Bhagya Lakshmi,
Designation : Lecturer,
Branch : DCCP
Institution : GMR Polytechnic, Gajwel
Year/semester : First Year
Subject name : Computer Fundamentals.
Subject Code : CCP-105
Topic : DOS Operating System
Duration : 50 min.
Sub –Topic : DOS commands
Teaching Aids : PPT
CCP105.23 1
Objectives:
CCP105.23 2
Wild cards
CCP105.23 3
Examples
C>DIR *
Display all the files.
C>DIR a*
display files staring with a
CCP105.23 4
C>DIR *.a*
Display files starting with extension ‘a’
C>DIR P*.a*
Display files started with primary name ‘p’
and extension starting with ’a’
CCP105.23 5
?:? Is used to select a single character
Ex:
DIR a??.*
It will display all the 3 character files starting with ‘a’ with
any extension.
CCP105.23 6
Dir *.?o?
will display all the files with any file name and with ‘o’ as
the second character in the extension.
CCP105.23 7
Note
DIR *
DIR *.*
DIR *.???
DIR ????????.*
DIR ???????.???
CCP105.23 8
COPY COMMAND
CCP105.23 9
SYNTAX
C > Copy [source drive] source file name
[target drive] target file name
CCP105.23 10
Source file:
This specifies address of the file or files to be copied
Target drive:
This specifies address of the directory where source file
files to be copied
CCP105.23 11
Example:
C:\>COPY A:\ Test.Dat C:\ New.Dat
CCP105.23 12
Copying using wildcards:
CCP105.23 13
C > COPY *.* A:\
CCP105.23 14
Appending files:
CCP105.23 15
DATE Command :
A > DATE
CCP105.23 16
OUTPUT
The screen display will look like this :
A > DATE
CCP105.23 17
TIME Command:
This command displays current time
A > TIME
CCP105.23 18
SUMMARY
Wild cards
Special characters used to select files having a
similar pattern.
Copy command
Useful to copy one or more files
Date command
To display or to change the current date
Time command
To display or to change the current time
CCP105.23 19
QUIZ
c) TIME
d) DATE
e) DIR
f) All above
CCP105.23 20
Frequently asked Questions in Examination
CCP105.23 21
Assignment
Write examples of any four COPY command and explain
the same
What information do TIME and DATE commands show
and in what format. Give examples
CCP105.23 22
Thank you
CCP105.23 23