|
Re: Schedule task to copy file from one directory to another
"ksh" <ksh@discussions.microsoft.com> wrote in message
news:97515DF6-13E2-4CB7-BE2C-59695DF5E6E5@microsoft.com...
> 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.
|