I need a very simple program/script to do...

Discussion in 'Windows Desktop Systems' started by VenomXt, Aug 16, 2006.

  1. VenomXt

    VenomXt Blame me for the RAZR's Folding Team

    Messages:
    3,453
    Location:
    Houston, Texas
    i have a shared network folder that has generated .txt files in it. I need a program/script to go to that network folder every 4 hours or so to copy the new .txt files in the shared folder and make a back up of the folder. Will need to run for weeks doing this generating a long list of these txt files. any ideas?
     
  2. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    VenomXt likes this.
  3. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    Frigger, got my answer lol
     
  4. VenomXt

    VenomXt Blame me for the RAZR's Folding Team

    Messages:
    3,453
    Location:
    Houston, Texas
    Very good find thanks kcy works like a charm.
     
  5. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    Yeah it is a great script indeed, glad it worked for you.
     
  6. Shamus MacNoob

    Shamus MacNoob Moderator Political User

    Messages:
    4,199
    Location:
    L'Ile Perrot Quebec
    A simple batch file run as a task with set times would have done that

    copy *.txt
    md

    I mean real basic dos batch file
     
  7. VenomXt

    VenomXt Blame me for the RAZR's Folding Team

    Messages:
    3,453
    Location:
    Houston, Texas
    that what this is ;) except i have lots of random .txt files being made. Im copying the cookie folders off computers. so the xcopy command works great.
     
  8. Mainframeguy

    Mainframeguy Debiant by way of Ubuntu Folding Team

    Messages:
    3,763
    Location:
    London, UK
    I think what Shamus really meant is in the time it took you to post you could have done it yourself... sometimes this is the case - we are just minions to feed the great beast that OSNN has become... oh dear I am getting weird again....
     
  9. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    Shamus presented a viable option, nothing wrong with having choices :)

    I just came across that article recently and have been using it since the switches that it talks about give a lot of functionality.

    Overkill for what he needs? Maybe, but I have put it to good use.
     
  10. Shamus MacNoob

    Shamus MacNoob Moderator Political User

    Messages:
    4,199
    Location:
    L'Ile Perrot Quebec

    Yes thats what I meant not so much feeding the threads thats cool but there are times when you need to use what is in your head not what someone else is doing for you, other wise you end up loosing whats in your head and become a slave to the all mighty god of google :lick:
     
  11. VenomXt

    VenomXt Blame me for the RAZR's Folding Team

    Messages:
    3,453
    Location:
    Houston, Texas
    *shrugs* sometimes im lazy.. and KCY likes to post... i mean um..... hehe.

    Yah i probaly should of done the leg work but i do apreciate the help guys. When your doing 4 other projects literally at the same time its nice not to have to think too hard about the 5th one.
     
  12. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    Nothing wrong with Google.

    There are also sometimes more efficient ways of whatever you may know in your head ;)
     
  13. Shamus MacNoob

    Shamus MacNoob Moderator Political User

    Messages:
    4,199
    Location:
    L'Ile Perrot Quebec
    Dont remember saying there was something wrong with google I like search engines cant live without them today in my field.