HP OpenVMS Systems

ask the wizard
Content starts here

OpenVMS COPY command? (xcopy)

» close window

The Question is:

I'm looking for a way to do an xcopy in vms.  It seems that a copy
 disk$::[dir...]*.*;* will copy all files in the tree but not directory files.
 Is there a command file available that does this function already?

The Answer is :

  When asking a question such as this, the Wizard requests that the
  specific DCL command(s) used be included in the question.
  The DCL command:
    COPY ddcu:[dir1...]*.* ddcu:[dir2...]
  works as expected, and copies the directory heirarchy.
  Alternatively, you could use the BACKUP command to transfer the

answer written or last revised on ( 23-APR-2001 )

» close window