Wildcard Copies from UNIX to Microsoft Windows

In the following example, a Connect:Direct® for UNIX PNODE directory /financial/accounts contains the files customer1, customer2, customer3, supplier1, and supplier2. A Connect:Direct for Microsoft Windows SNODE has the directory C:/financial/accounts. The following wildcard copy command copies the files called customer1, customer2, and customer3 from the PNODE to the C:/financial/accounts directory on the SNODE. The source file names and the destination file names are identical.

WILDCOPY  COPY
                FROM  (FILE=/financial/accounts/customer?)
                TO    (FILE=C:\financial\accounts\
                       DISP=RPL)

You must include the ending backslash (\) for the destination directory.

The following wildcard copy step copies customer1, customer2, customer3, supplier1, and supplier2 into the C:\financial\accounts directory on the SNODE. The source file names and the destination file names are identical.

WILDCOPY  COPY
                FROM  (FILE=/financial/accounts/*)
                TO    (FILE=J:\financial\accounts\
                       DISP=RPL)