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

Reminder

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

upgrade

Fit 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).
file prompt

file prompt

Function

The file prompt command changes the prompt mode when you perform operations on files.

The default prompt mode is alert.

Format

file prompt { alert | quiet }

Parameters

Parameter Description Value
alert Display a prompt message before users perform an operation. -
quiet Display no prompt message before users perform an operation. -

Views

System view

Default Level

3: Management level

Usage Guidelines

If the prompt mode is set to quiet, the system does not provide prompt messages when data is lost because of misoperations such as the operation of deleting or overwriting files. Therefore, this prompt mode should be used with caution.

Example

# Set the prompt mode to quiet. When you rename a copied file test.txt using an existing file name test1.txt, no prompt message is displayed.

<Huawei> system-view
[Huawei] file prompt quiet
[Huawei] quit
<Huawei> copy test.txt test1.txt
Deleting file permanently from flash will take a long time if needed...Done.
100%  complete
Info: Copied file flash:/test.txt to flash:/test1.txt...Done 

# Set the prompt mode to alert.

<Huawei> system-view
[Huawei] file prompt alert
[Huawei] quit
<Huawei> copy test.txt test1.txt
Copy flash:/test.txt to flash:/test1.txt?(y/n)[n]:y
The file flash:/test1.txt exists. Overwrite it?(y/n)[n]:y
Deleting file permanently from flash will take a long time if needed...Done.
100%  complete
Info: Copied file flash:/test.txt to flash:/test1.txt...Done 
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 92530

Downloads: 64

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