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).
mkdir (User view)

mkdir (User view)


The mkdir command creates a directory in the current storage device.


mkdir directory






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.

If you only the subdirectory name is specified, a subdirectory is created in the current working directory. You can run the pwd (user view) command to query the current working directory. If the subdirectory name and directory path are specified, the subdirectory is created in the specified directory.


  • The subdirectory name must be unique in a directory; otherwise, the message "Error: Directory already exists" is displayed.

  • A maximum of four directory levels are supported when you create a directory.


# Create the subdirectory new in the flash card.

<Huawei> mkdir flash:/new
Info: Create directory flash:/new......Done
Related Topics
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 256750

Downloads: 144

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next