Del
Used to delete the specified files from the computer
Syntax
DEL [ drive: ] [ path ] filename [ /P ]
Switch
/P Prompts for confirmation before deleting each file.
Examples
del c: \ windows \ test.txt
Delete the c:\windows\test.txt in the windows directory if it exists.
del c: \ windows \ temp \ ?est.txt
This command would delete any file ending with est.txt such as west.txt or pest.pdf.
RENAME or REN
Changes the name of the first filename you enter to the second filename you enter. In case you enter a path designation for the first filename, the renamed file will be stored on that path.
Syntax:
RENAME / REN [ d: ] [ path ] filename filename
Examples: ren a:first.txt second.txt
Change the name of the file FIRST.TXT on drive A to SECOND.TXT on drive A.











