Parameter | Description | Value |
---|---|---|
directory | Specifies a directory or directory and its path. |
The value is a string of case-insensitive characters in the [ drive ] [ path ] directory format. The absolute path length ranges from 1 to 64, while the directory name length ranges from 1 to 15. In the preceding parameter, drive specifies the storage device name, and path specifies the directory and subdirectory. The directory name cannot contain the following characters: ~ * / \ : ' " |
Usage Scenario
Precautions
Before running the rmdir command to delete a directory, you must delete all files and subdirectories from the directory.
A deleted directory and its files cannot be restored from the recycle bin.