Monday, September 10, 2012

Delete a file


Delete a file:
DEL filename
where filename is the name of the file to be deleted. You are
asked to confirm that you really want to delete the file. Note
that the name must include the file extension.
The amount of space on a disk is limited and it is necessary
periodically to tidy up unwanted files. It is possible to use a '*'
character in a filename to match any sequence of characters.
This feature is  very useful when deleting unwanted files with
identical extensions. For example, when developing
programs,
DEL *.obj
will delete every binary (.obj) file in the current directory.
Since an .obj file can always be recreated from the original
source program, it is usually unnecessary to keep it.
DEL

No comments:

Post a Comment