1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

*fixed* running xcopy or move in an at job

Discussion in 'Legacy Windows' started by Thornn, 2002/12/10.

Thread Status:
Not open for further replies.
  1. 2002/12/10
    Thornn

    Thornn Inactive Thread Starter

    Joined:
    2002/07/15
    Messages:
    4
    Likes Received:
    0
    I have a .bat file that executes a cuteftp script to pull down files I need from a client server. I then have a move command to move these files to a network server.

    My problem is this. If I schedule this .bat file to run at specific times, I want it to run every 10min after the hour, the cuteftp script runs but the move command does not.

    If I just double click the .bat file everything executes as it is written and the files are moved.

    I have tried copy and xcopy as well and am using the /y option as well on all of them to suppress the option to overwrite.

    Ok, it seems that the at command only works for drives on the local machine. If I tell it to move the files to another folder on the local drive it moves them. If I switch back to the networked drive letter I get an "Invalid drive specification" error.

    Discovered this by adding a pause command into the .bat to see the dos window as the at job ran it.

    Thanks,

    Gmartin
     
    Last edited: 2002/12/10
  2. 2002/12/10
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,317
    Likes Received:
    252
    Might try putting the move command in a second .bat file. Have to first bat file call it.
     

  3. to hide this advert.

  4. 2002/12/10
    Thornn

    Thornn Inactive Thread Starter

    Joined:
    2002/07/15
    Messages:
    4
    Likes Received:
    0
    2nd bat file

    problem fixed or at least found..now to implement a work around.
     
    Last edited: 2002/12/10
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.