1.create a sub directory NEW and a sub directory EXAM under it.
C:\Users\cs-14>md NEW
C:\Users\cs-14>cd NEW
C:\Users\cs-14\NEW>md EXAM
C:\Users\cs-14\NEW>cd EXAM
2. create two files TEST1 and TEST2 in a sub directory EXAM.
C:\Users\cs-14\NEW\EXAM>copy con TEST1
CMSA^Z
1 file(s) copied.
C:\Users\cs-14\NEW\EXAM>copy con TEST2
MTMG^Z
1 file(s) copied.
3.copy the contain of TEST1 into TEST3.
C:\Users\cs-14\NEW\EXAM>copy TEST1 TEST3
1 file(s) copied.
4. Delete the file TEST1.
C:\Users\cs-14\NEW\EXAM>del TEST1
5.Rename the file TEST3 toTEST4.
C:\Users\cs-14\NEW\EXAM>ren TEST3 TEST4
6.Display the file TEST1.
C:\Users\cs-14\NEW\EXAM>edit TEST1
7.delete the folder EXAM.
C:\Users\cs-14\NEW\EXAM>del TEST2
C:\Users\cs-14\NEW\EXAM>del TEST4
C:\Users\cs-14\NEW\EXAM>cd..
C:\Users\cs-14\NEW>rd EXAM
8.Delete the folder NEW.
C:\Users\cs-14\NEW>cd..
C:\Users\cs-14>rd NEW
C:\Users\cs-14>
No comments:
Post a Comment