273
9.6.6 File Move/Rename (/N)
Function
This function moves a file within the same drive or renames the file on the host. A file cannot be
moved into a different drive.
Startup Method
FLINK /N[Option] move source pathname move destination pathname
Option
Option
Description
H
If HT-to-HT communication is to be performed, specify this option on the terminal.
Move source pathname
Specify the objective file to be moved or renamed on the host side by its full pathname, including
the drive name.
Wild cards cannot be used for the file name.
Move destination pathname
Specify a file name used as the move destination or the resultant file name of rename.
This file name must be specified by its full pathname, including the drive name.
If the specified directory does not exist, it will be automatically created.
Example of specifications
FLINK /N A:
TEST
KK.DAT
A:
TEST2
This specification moves "A:
TESTKK.DAT" to
"A:
TEST2" on the communication partner side.
FLINK /N A:
TEST
KK.DAT
A:
TEST2
SJ.DAT
This specification renames "A:
TESTKK.DAT" as
" A:
TEST2SJ.DAT" on the communication partner
side.
FLINK /N A:
TEST
KK.DAT
B:
TEST2
SJ.DAT
A different drive cannot be specified. This specification
results in an error.