delete
RMDIR internal DOS command Remove Empty Directory
RMDIR command is an INTERNAL dos command and Removes (deletes) a directory.
SYNTAX:-
RMDIR [/S] [/Q] [drive:]path
RD [/S] [/Q] [drive:]path
OPTIONS:-
/S Removes all directories and files in the specified directory
in addition to the directory itself. Used to remove a directory
tree.
/Q Quiet mode, do not ask if ok to remove a directory tree with /S
EXAMPLES:-
DELTREE external DOS command
Type:This command work when Externally loaded(6.0 and later)
Syntax:
DELTREE [/Y] [d:]path [d:]path[...]
Use: Deletes (erases) a directory including all files and subdirectories that are in it (new with DOS Version 6).
Description:
DEL DOS command for deleting files from directory
DEL command is used for Delete a file.This command provide options so that we can delete multiple files based on a pattern.
Syntax:-
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.

Sign In





