Schedule task to copy file from one directory to another

  • Thread starter Thread starter ksh
  • Start date Start date
K

ksh

Is there a simple way to schedule a task that runs every weekday to copy a
file from one directory to another?

copy updated file in this location (network drive): Q:\Latin America
to this location (also a network drive): Q:\GDS\Financials\Latin America

This is necessary because some of the people who use this file do not have
access to the GDS file, but my boss would like it kept in the dept (GDS) file
as well. Being human though I often forget to copy this and would really
like to automate this process.

Thank you for any advise you can offer.
 
ksh said:
Is there a simple way to schedule a task that runs every weekday to copy a
file from one directory to another?

copy updated file in this location (network drive): Q:\Latin America
to this location (also a network drive): Q:\GDS\Financials\Latin America

This is necessary because some of the people who use this file do not have
access to the GDS file, but my boss would like it kept in the dept (GDS)
file
as well. Being human though I often forget to copy this and would really
like to automate this process.

Thank you for any advise you can offer.

You could use the Task Scheduler to run this batch file:

@echo off
xcopy /c /y /d "\\Server\Share\Latin America\*.*"
"\\Server\Share\GDS\Financial\Latin America\"

You must use UNC names because your mapped shares
won't be visible to the scheduled task. Make sure to run
the task under an account that has sufficient access to this
share.
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top