Schedule Task Batch Copy Job

Discussion in 'Windows Server' started by Joe K., May 26, 2006.

  1. Joe K.

    Joe K. Guest

    I have a job that runs daily at 3:30 AM, I would like to copy a file to
    another server. The first part of the file name is the same for everyday
    last part of the file name (200605260330) changes daily to correspond with
    the date.

    File Name is 'Market_Data_dk_200605260330.BAK'

    I would like to create a batch job to copy the File
    'K:\Market_Data_dk_200605260330.BAK to \\NWYork\Market_Data\.'

    Please help me complete this task.
    Joe K., May 26, 2006
    1. Advertisements

  2. Try xcopy with the /D switch;

    xcopy K:\Market_Data_dk_*.bak \\NWYork\Market_Data /D

    Doug Sherman
    Doug Sherman [MVP], May 26, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.