...
The basic format of the
copy command is:
Panel |
---|
Html bobswift |
<pre>
copy sourcelname=filespec [destlname[=filespec]]
</pre>
|
The
copy command copies the file specified on the server with the logical name corresponding to
sourcelname to the server with the logical name corresponding to
destlname.
...
The following example copies the file
test.txt from a machine with the logical name
src to a file called
test.txt on the machine with the logical name
dst:
Panel |
html-bobswift |
---|
<pre>
copy src=test.txt dst
</pre>
|
The following example copies the test.txt file residing in
c:\files from a machine with the logical name
src to a file called
test.txt on the machine with the logical name
dst:
Panel |
---|
Html bobswift |
<pre>
copy src=c:\files\test.txt dst
</pre>
|
The following example copies
test.txt from
src to the root of drive C on
dst. The destination file is also called
test.txt:
Panel |
---|
Html bobswift |
<pre>
copy src=test.txt dst=c:\
</pre>
|
The following example copies the file
test.txt from
src to a file called
test.bak in the root of drive C on
dst:
Panel |
html-bobswift |
---|
<pre>
copy src=test.txt dst=c:\test.bak
</pre>
|
Tip |
---|
|
If you want the destination file name to be the same as that of the source file name, you do not have to specify the destination system in the copy command. The destination will be implied based on the logical name of the source (if the source is the primary server, the destination is assumed to be the secondary server, and vice versa). |
...