Parameter |
Description |
Value |
---|---|---|
file-name |
Specifies the name of the script file to be uninstalled. |
The value must be the name of a script file that has been installed. If a script in a specified installation directory directory/file-name needs to be deleted, directory specifies the installation directory of the script. NOTE:
The total length of file-name and the installation directory of the script cannot exceed 118. The total length refers to the storage path + $_user + directory name + file name. |
Usage Scenario
You can uninstall unnecessary scripts to release storage space on a device. If an installed script needs to be updated, uninstall it first, and reinstall it after the update.
Precautions
This command cannot uninstall a script for which a script assistant has been configured. To uninstall the script, delete the script assistant first.
If the script for which a script assistant has configured invokes another script, the called script can be uninstalled using this command. Therefore, it is recommended that you use one script to implement required functions.