The ops install file command installs a file or files in a directory in a destination.
The ops uninstall file command removes a file or files in a directory.
Parameter | Description | Value |
---|---|---|
scrFile |
Specifies the name or directory of a file to be installed. |
The value is a string of 1 to 127 characters without spaces. The value can contain the path and wildcards. The restriction is that the sum of the path length and the file name length is not greater than 127, and the installation path includes $_user. When quotation marks are used around the string, spaces are allowed in the string. |
destination directory |
Specifies the directory. |
The value does not contain a drive letter. In the case of an absolute path, the root directory must be $_user. In the case of a relative path, the $_user directory is used by default. If the specified directory does not exist, a new directory is created. The value is a string of 1 to 127 characters. The restriction is that the sum of the path length and the file name length is not greater than 127, and the installation path includes $_user. |
file-name-or-dir |
Specifies the name of a file to be removed. |
The value is a string of 1 to 127 characters. |
Usage Scenario
To install a file or files in a directory in a specified destination, run the ops install file command. If a directory is specified, the files in the directory and its sub-directory will be installed in the specified destination. If the destination is not specified, files are installed in the $_user directory by default.
The dir can be run to display information about files that are installed in the $_user directory.
To remove a file or files in a directory, run the ops uninstall file command.
Precautions