Page 1 of 2 12 LastLast
Results 1 to 15 of 26
  1. #1
    Join Date
    Oct 2003
    Posts
    232

    Batch command challenge to copy file only created today

    I want to copy files from one directly to another
    directly say so i say

    copy c:\VIEW\ *. xls c:\LOCALDOCUMENT\change\


    Here is the challenge

    How do i
    1) make the batch file fire everday at a fixed time say 8 am

    2) how to i make only those file that were created today be copied not all
    like the above statement does
    bigfoots

  2. #2
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    What platform?
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  3. #3
    Join Date
    Oct 2003
    Posts
    232

    Ms dos window 2000

    MS dos window 2000

    thks for your help
    bigfoots

  4. #4
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    I meant are you using a database like sql server?

    Maybe @ commands?

    got a programming language?

    http://www.dbforums.com/showthread.p...57#post3651357
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  5. #5
    Join Date
    Oct 2003
    Posts
    232

    no just direct dos comman

    no just direct dos commands on window 2000
    bigfoots

  6. #6
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    You could use the Windows Task Scheduler to launch XCOPY with the /D option.

    -PatP

  7. #7
    Join Date
    Oct 2003
    Posts
    232

    how to i make only those file that were created today

    2) how to i make only those file that were created today be copied not all
    like the above statement does
    bigfoots

  8. #8
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    You read the documentation on the /D option.

    -PatP

  9. #9
    Join Date
    Oct 2003
    Posts
    232

    cant find to download installer

    I downloaded some stuff did not work


    so what to download from here


    http://www.microsoft.com/msdownload/...sdk/sdkupdate/


    or some other link
    bigfoots

  10. #10
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    What were you hoping to acheive using the SDK that you couldn't do with a scheduled XCOPY command using the /D option to limit the copied files to a given date or later?

    -PatP

  11. #11
    Join Date
    Oct 2003
    Posts
    232

    look at next

    look at next
    Last edited by sjumma; 03-30-04 at 17:43.
    bigfoots

  12. #12
    Join Date
    Oct 2003
    Posts
    232

    window nt 4

    in 2000 it at start program--accessories ---system--schedule task

    where it is on window nt 4
    bigfoots

  13. #13
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579

    Re: window nt 4

    Originally posted by sjumma
    in 2000 it at start program--accessories ---system--schedule task

    where it is on window nt 4
    The GUI scheduler doesn't exist in NT 4.0, although something pretty close exists in the NT Resource Kit.

    You can use the AT command to schedule jobs in NT 4.0.

    -PatP

  14. #14
    Join Date
    Oct 2003
    Posts
    232

    how to see scheduled job after at command

    I have configured the at comman


    how do i list the at command to see all at commands
    bigfoots

  15. #15
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579

    Re: how to see scheduled job after at command

    Originally posted by sjumma
    I have configured the at comman


    how do i list the at command to see all at commands
    You can get the "quick and dirty" list by typing:
    Code:
    AT /?
    at the command prompt. You can get more complete documentation by looking in the NT 4.0 help files or Tech-Net, for the AT Command.

    -PatP

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •