Practical 1
Practical 1
Input:-
Output:-
Write a command to change directory from current directory to BCA.
Ans:-
D:\>mkdir bca
D:\>cd bca
D:\BCA>_
Write a command to create .txt file name them FYBCA.txt, SYBCA.txt, TYBCA.txt .
Ans:-
D:\BCA>cat >fybca.txt
D:\BCA>cat >sybca.txt
D:\BCA>cat >tybca.txt
D:\BCA>_
Input:-
Output:-
Display all Content Of SYBCA directory.
Ans:-
D:\BCA>type sybca.txt
Write a command to copy the content of SYBCA.txt into TYBCA.txt . Input.
Ans:-
D:\BCA>copy sybca.txt tybca.txt
SYBCA.TXT
1 File(s) copied.
D:\BCA>_
Output:-
Write a command to delete a file FYBCA.txt .
Ans:-
D:\BCA>del fybca.txt
D:\BCA>_
Input:-
Output:-
Write a command to rename the file SYBCA.txt with SYBCA STUDENT.txt .
Ans:-
D:\BCA>ren sybca.txt sybcastudent.txt
D:\BCA>_
Input:-
Output:-
Write a command to change present current directory.
Ans:-
D:\>cd bca
D:\BCA>_