RMDIR D)+Removing DirectoriesDeletes a directory.
VERSION
PC-DOS 2.0+
MS-DOS equivalent: RMDIR D) (2.0+)
TYPE
Internal
SYNTAX
RMDIR [d:]path
or
RD [d:]path
OPTIONS
[d:]path Specifies the drive and path of the directory
to be removed.
RD is used to remove a subdirectory that is no longer
required.
EXAMPLE
RD C:\WP\FILES\LETTERS
deletes the subdirectory LETTERS.
MESSAGE
Invalid path, not directory,
or directory not empty
Either one of the names you specified was not a directory or was
the current directory (which you cannot remove), or the directory
you are trying to remove still contains files (other than the .
and .. files) and/or subdirectories. Either check the directory
name, change to a different directory, or delete the contents of
the directory and then reissue the RMDIR command.
UNDO
Use the MKDIR command to recreate a subdirectory that you
removed in error.
NOTE
Only empty subdirectories may be removed. A subdirectory is
empty when . and .. are the only entries in it. Remove all files
from a subdirectory by using the DEL or ERASE command first. Only
the last subdirectory in the path you specify will be removed.
You cannot remove the subdirectory you are currently in; you must
change to another directory first. In addition, you cannot delete
the root directory.
------------------------------------------------------------------
[For related topics, press R]
SEE ALSO
CHDIR Command
DEL (DELETE) and ERASE Commands
MKDIR Command
PATH Command
TREE Command
file: /Techref/DOS/command/rmdir.htm, 1KB, , updated: 1999/2/20 10:24, local time: 2024/11/8 23:00,
18.116.40.188:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/DOS/command/rmdir.htm"> DOS command rmdir</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.