move
Function
The move command moves the source file from a specified directory to a destination directory.
Parameters
Parameter |
Description |
Settings |
---|---|---|
source-filename |
Specifies the directory and name of a source file. |
The value is a string of 1 to 64 case-sensitive characters without spaces in the [ drive ] [ path ] file name format. In the preceding parameter, drive specifies the storage device name, and path specifies the directory and subdirectory. You are advised to add : and / between the storage device name and directory. Characters ~, *, /, \, :, ', " cannot be used in the directory name. |
destination-filename |
Specifies the directory and name of a destination file. |
The value is a string of 1 to 64 case-sensitive characters without spaces in the [ drive ] [ path ] file name format. In the preceding parameter, drive specifies the storage device name, and path specifies the directory and subdirectory. You are advised to add : and / between the storage device name and directory. Characters ~, *, /, \, :, ', " cannot be used in the directory name. |
Usage Guidelines
Usage Scenario
The following describes the drive name.
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.
Precautions
If the destination file has the same name as an existing file, the system prompts you whether to overwrite the existing file. The system prompt is displayed only when file prompt is set to alert.
- This command cannot be used to move files between storage devices.
The move and copy commands have different effects:
- The move command moves the source file to the destination directory.
- The copy command copies the source file to the destination directory.