CCP105
CCP105
ANDHRA PRADESH
Name : M.Bhagya Lakshmi,
Designation : Lecturer in CCP,
Institution : GMR Polytechnic, Gajwel
Branch : DCCP
Year/semester : First Year
Subject name : Computer Fundamentals.
Subject Code : CCP-105
Major Topic : DOS Operating System
Duration : 50 min.
Sub –Topic : PRINT , FILE.
Teaching Aids : PPT
CCP105.30 1
OBJECTIVES:
On completion of this period, you would be able to know
and use
• PRINT COMMAND
• FILE ATTIBUTES
CCP105.30 2
RECAP
• DISKCOPY
• DISKCOMP
CCP105.30 3
PRINT COMMAND
CCP105.30 4
The Syntax is
• Example:
A > PRINT INT.FOR
CCP105.30 5
FILE Attributes:
CCP105.30 6
The attributes of a file are given below
Attribute Explanation
CCP105.30 7
• Archive It is used with the backup, xcopy and
other commands to control back up
process
CCP105.30 8
ATTRIB command:
CCP105.30 9
The general form of attrib command
Attrib [+r/ -r] [+a/ -a] [+s/ -s] [+h/ -h] [drive:] [path] [file name] [/s]
CCP105.30 10
• [drive:] [path] Specifies the location and
nameof the file or set of files you
want to process.
CCP105.30 11
• +s Sets the file as a system file.
CCP105.30 12
Example
A > attrib
CCP105.30 13
Examples:
CCP105.30 14
Summary
• PRINT COMMAND
• Used to transfer the file contents to the printer
• FILE ATTIBUTES
• Read-only
• Hidden
• Archive
• System
CCP105.30 15
QUIZ
CCP105.30 16
The attributes of a file are
b) Read only
c) Hidden
d) Archive
e) System
f) all
CCP105.30 17
Frequently asked questions
CCP105.30 18
Assignment
CCP105.30 19
THANK YOU
CCP105.30 20