Purpose |
Delete a disk directory (like the DOS RMDIR command). |
Syntax |
RMDIR path |
Remarks |
path is a directory path, which may include a drive specification. RMDIR deletes the directory indicated by path. This statement works like the DOS "RMDIR" or "RD" commands. As with the DOS commands, the path must specify a valid, empty directory, other than the default (current) directory. Otherwise, a run-time Error 75 occurs ("Path/file access error"). RMDIR can use Long File Names (LFNs). |
See also |
|
Example |
DirectoryName$ = "\TEMP" RMDIR DirectoryName$ |