Copying files and directories
Renaming files and folders
The syntax for the copy command is as follows:
copy <source> <destination>
Both the source and destination arguments must be specified as absolute paths.
For example, as follows:
Copy a file from a volume that is
accessible to the current operating
system to a folder test on a volume
that is inaccessible to it.
Copy a file from a volume that is
inaccessible to the current
operating system to a volume that
is accessible to it.
In both examples, the absolute path to the files must be valid.
If the source argument points to a directory, the copy operation copies all of the
files and subdirectories from the source location to the destination location. In
this case, the destination argument must point to a valid directory. The last portion
of the destination path is created if required.
If the first argument points to a file and the second argument points to a directory,
the file is created with the same name as the source file in the destination directory.
The syntax for the rename command is as follows:
rename <source> <destination>
Both the source and destination arguments must be specified. The source argument
must be specified as an absolute path, and the destination argument must contain
the new name only. To move the file or folder to a new location use the copy
command.
For example:
rename 2:1\user\data.txt "my data.txt"
This renames 2:1\user\data.txt to 2:1\user\ my data.txt.
The following operation is illegal because the destination argument contains a
location:
rename 2:1\user\data.txt 2:1\temp\"my data.txt"
Manipulating files and directories using OmniFS
copy a:\temp\test.txt 2:1\user\data.txt
copy 2:1\user\data.txt a:\temp\test.txt
85
OmniFS operations
Need help?
Do you have a question about the GHOST IMAGING FOUNDATION 7.1 - V1.0 and is the answer not in the manual?