Professional Documents
Culture Documents
CCP105
CCP105
CCP105
ANDHRA PRADESH
CCP105.34 2
RECAP:
BATCH FILES
CREATION OF BATCH FILES
EXECUTING THE BATCH FILES
CCP105.34 3
SOME OF THE EXAMPLES FOR
BATCH PROCESSING.
CCP105.34 4
BATCH FILE TO DELETE A FILE
Output : This batch file will delete the file named lotus.txt. If
the file is not available, it will display an
error message ‘File not Found’.
CCP105.34 5
BATCH FILE TO DELETE A FILE…. CONTD
CCP105.34 6
EXAMPLE
CCP105.34 8
EXAMPLE:
CCP105.34 9
BATCH FILE TO RENAME USING
PARAMETERS
Executing procedure :
CCP105.34 10
Note :
Here, In all the above cases, you will
observe that the batch file will read every
statement and displays the statement at the
system prompt and then executes it.
CCP105.34 11
Contd..,
Note :
ECHO OFF
CCP105.34 12
SUMMARY:
CCP105.34 13
QUIZ
CCP105.34 14
ASSIGNMENT
1. Create a batch file to show the contents of two or more
files on screen
CCP105.34 15
FREQUENTLY ASKED QUESTIONS
CCP105.34 16
CCP105.34 17