No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
rmdir (user view)

rmdir (user view)


The rmdir command deletes a specified directory from the storage device.


rmdir directory


Parameter Description Value

Specifies a directory or directory and its path.

The value is a string of case-sensitive 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.

Characters such as ~, *, /, \, :, ', " cannot be used in the directory name.


User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The following describes the drive name.
  • drive is the storage device and is named flash:.

The path can be an absolute path or relative path.
  • flash:/my/test/ is an absolute path.

  • selftest/ is related to the current working directory and indicates the selftest directory in the current working directory.


  • 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.


# Delete the directory test from the current directory.

<Huawei> rmdir test
Remove directory flash:/test?(y/n)[n]:y
%Removing directory flash:/test....Done! 
Related Topics
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 200400

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next