Re: Scheduled Task - Move Command

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Andy (anonymous_at_discussions.microsoft.com)
Date: 05/04/04


Date: Mon, 3 May 2004 21:35:43 -0700

Thanks for the reply.

1. Rights is definitely not the issue here. As I said, I
tried the 'move' portion in a separate batch file and
scheduled task (same credentials of course) and it works.

2. I must beg to differ on the use of mapped drives vs.
UNC notation. I've found two contradictory messages
elsewhere that state that one works and the other doesn't.

>-----Original Message-----
>
>"Andy" <anonymous@discussions.microsoft.com> wrote in
message
>news:7eb101c43176$f50a4750$a001280a@phx.gbl...
>> I have a batch file on a server that runs a backup then
>> moves the backup files to a workstation. I have this
>> triggered by a scheduled task that runs nightly.
>>
>> The backup portion runs fine but the move command fails.
>> I've tried using the move two ways:
>> 1. Map a drive to the share on the workstation then
move
>> the files.
>> 2. Use the UNC reference to the share on the network
>> station in the move command.
>>
>> Both fail. The odd thing is that if I run the 'move'
>> portion as a separate task it works fine.
>>
>> Any help would be appreciated.
>
>You must run the scheduled task under an account
>that has sufficient privileges to perform the "move"
>command. This has nothing to do with UNC paths,
>and everything with NTFS permissions.
>
>
>.
>



Relevant Pages

  • Re: Schedule Batch File-How to?
    ... backup with your Robobkup program. ... Panel> Scheduled Task etc. and the batch file name was used as the ... Windows command that you are using within the batch file. ... The properties window for the new scheduled task should now be open. ...
    (microsoft.public.windowsxp.general)
  • Re: Schedule Batch File-How to?
    ... Windows command that you are using within the batch file. ... you will not be using the batch file anymore. ... This window will also display your computer name and your user login name. ... The properties window for the new scheduled task should now be open. ...
    (microsoft.public.windowsxp.general)
  • Re: setup a schedule task in WIndows XP
    ... I am still puzzled about the date format discrepancies. ... @echo off ... Copy & paste the code into your batch file. ... Create a scheduled task to run this batch file. ...
    (microsoft.public.windowsxp.general)
  • Re: setup a schedule task in WIndows XP
    ... I am still puzzled about the date format discrepancies. ... @echo off ... Copy & paste the code into your batch file. ... Create a scheduled task to run this batch file. ...
    (microsoft.public.windowsxp.general)
  • Re: setup a schedule task in WIndows XP
    ... the file names would be more consistent if the time format ... @echo off ... Copy & paste the code into your batch file. ... Create a scheduled task to run this batch file. ...
    (microsoft.public.windowsxp.general)