Invalid path, not directory, or directory not empty
Microsoft MS-DOS
Severity: MinorWhat it means
The RMDIR command cannot remove the directory, because one of the names in the path is incorrect, does not exist, or still contains files.
Affected Models
- IBM PC compatibles running MS-DOS
How to Fix It
-
Check the path's spelling.
-
Delete all files and subdirectories in it first.
DIR doesn't show hidden files: in MS-DOS 5 and later, DIR /A does.
-
Is it the current directory?
Leave it first with CD .., as MS-DOS doesn't remove the directory you are in.