Microsoft Disk Operating System - MS DOS
Process to Delete Files- (DEL / ERASE) -
The DEL or EREASE Command is used for deleting file from the disk.
Syntax - DEL[Drivce:][PATH]<File Name>
Example -: C> DEL NEWFILE.TXT <Enter>
Del Command will remove the file New File.Txt from the Disk.
Ex-: (DEL) Delete hh File from y
xyz> cd y
xyz\y> del hh
cd..
tree / f
Answer- x - x1, x2, ff
y - y1, y2
z - z1, z2
-----------------------------------------------------------------
For Example - Delete hh file from the Vijay.
Shivam> cd vijay
Shivam\Vijay> del hh
cd..
tree / f
Answer - Shivam
Ajay - h1, h2, ff
Vijay - h3, h4
Suresh -h5, h6
------------------------------------------------------------------
Process to Rename File - (REN)
The Rename Command is changed the name of a file to a new name.
Syntax - REN[DRIVE:][PATH]<OLD File name>
Example- : C>REN OLD FILE .TXT NEWFILE <Enter>
EX :- (REN) ff file of x renaming with gg.
xyz > cd x
xyz\x > ren ff gg
cd..
tree / f
Answer- x -x1, x2, gg y-y1, y2 z-z1, z2
For Example- ff file of Ajay Renaming with gg
Shivam> cd ajay
Shivam\ajay > ren ff gg
cd..
tree/f
Answer- Shivam-
Ajay - h1 , h2, gg
Vijay - h2 , h3
Suresh - h5, h6
------------------------------------------------------------------
Microsoft Disk Operating System was written by Bill Gates &
Paul Allen, in the early 1980. It was used on 16 bit PCs built around
Intel' s 8086 & 8088 microprocessors.DOS was Introduced by IBM in
1981 for their Personal Computers.
The DEL or EREASE Command is used for deleting file from the disk.
Syntax - DEL[Drivce:][PATH]<File Name>
Example -: C> DEL NEWFILE.TXT <Enter>
Del Command will remove the file New File.Txt from the Disk.
Ex-: (DEL) Delete hh File from y
xyz> cd y
xyz\y> del hh
cd..
tree / f
Answer- x - x1, x2, ff
y - y1, y2
z - z1, z2
-----------------------------------------------------------------
For Example - Delete hh file from the Vijay.
Shivam> cd vijay
Shivam\Vijay> del hh
cd..
tree / f
Answer - Shivam
Ajay - h1, h2, ff
Vijay - h3, h4
Suresh -h5, h6
------------------------------------------------------------------
Process to Rename File - (REN)
The Rename Command is changed the name of a file to a new name.
Syntax - REN[DRIVE:][PATH]<OLD File name>
Example- : C>REN OLD FILE .TXT NEWFILE <Enter>
EX :- (REN) ff file of x renaming with gg.
xyz > cd x
xyz\x > ren ff gg
cd..
tree / f
Answer- x -x1, x2, gg y-y1, y2 z-z1, z2
For Example- ff file of Ajay Renaming with gg
Shivam> cd ajay
Shivam\ajay > ren ff gg
cd..
tree/f
Answer- Shivam-
Ajay - h1 , h2, gg
Vijay - h2 , h3
Suresh - h5, h6
------------------------------------------------------------------