VMS Help RCP, Parameters *Conan The Librarian (sorry for the slow response - running on an old VAX) |
source_file Required. Source host and file specification, in the format "[username@]"host:file, where: o username@ is the user name on a remote UNIX system, needed only if the UNIX system has the name in its /etc/hosts.equiv file or the UNIX user's .rhosts file. Enclose the username@ portion, or the entire specification containing the username@ syntax, in quotation marks (" "). o host is the remote host, followed by a colon (:). o file is the name of the file to copy. A file name without the full path specification defaults to the default (or home) directory. RCP Command: Specifying the Source File shows the possible correct formats. Table 1 RCP Command: Specifying the Source File Host Possible Formats UNIX hosts Specify the following, enclosing UNIX path names that include slashes (/) in quotation marks (" "): o Absolute path name, such as /etc/user/hosts, followed by the file name RCP/USER_NAME="jjones"/PASSWORD="letmein" STATS.TXT - sysair:"/usr/users/jamesj/stats.txt" o Path name relative to your default directory, followed by the file name RCP/USER_NAME="jjones"/PASSWORD="letmein" STATS.TXT - sysair:"~jamesj/stats.txt" OpenVMS Specify the following: hosts o Brackets ([ ]), which indicate your default directory, followed by the file name RCP/USER_NAME=JJONES/PASSWORD=LETMEIN OUR.DOC SYSAIR:[]GROUP.DOC o Full file specification, such as DKA0:[WILDE.BIRDS.NORTHERN]CHAPTER1.TXT To specify a device name, enter a colon (:) and then the name. Enclose the entire parameter within quotation marks (" "). RCP/USER_NAME=JJONES/PASSWORD=LETMEIN CHAP1.TXT - SYSAIR:"DKA0:[WILDE.BIRDS.NORTHERN]CHAPTER1.TXT" o A logical name, such as SYS$LOGIN:ROBIN.DAT or DIAK$9:[AMERICAN]FINDINGS.LIS To specify a logical name, enter a colon (:) and then the name. Enclose the entire parameter within quotation marks (" "). RCP/USER_NAME=JJONES/PASSWORD=LETMEIN CHAP1.TXT - SYSAIR:"SYS$LOGIN:CHAPTER1.TXT" destination_file Required. Destination host and file specification information is of the same form as the source parameter, unless the file specification is completely omitted or the file name portion of the file specification is omitted. In these cases, the default file name used is the same as specified in the source parameter, the directory being the default/home directory of the user.
|