Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Copy the file automatically every the file just closed  (Read 3727 times)

0 Members and 1 Guest are viewing this topic.

ignatius_lensi

    Topic Starter


    Starter

    • Experience: Beginner
    • OS: Unknown
    Copy the file automatically every the file just closed
    « on: February 10, 2012, 03:56:50 AM »
    I want to make a back-up of a file when it's just closed. In example : I have a .accdb file, work with it, then after i close this file, automatically windows make a new back-up with the same file.

    I can i do it? any suggestion, please.

    Sorry for my bad English.

    reddevilggg



      Expert

      Thanked: 69
    • Experience: Beginner
    • OS: Windows 7
    Re: Copy the file automatically every the file just closed
    « Reply #1 on: February 10, 2012, 09:00:04 AM »

    Why not just copy the file to a USB memory stick, CD-RW, DVD-RW or maybe another location on your PC. You can do this by right-clicking the file and selecting 'copy', then navigate to the required area and paste.
    11 cheers for binary !

    ignatius_lensi

      Topic Starter


      Starter

      • Experience: Beginner
      • OS: Unknown
      Re: Copy the file automatically every the file just closed
      « Reply #2 on: February 10, 2012, 10:09:42 PM »
      Thanks for the reply.
      My purpose is having a back up of a file i work with in the same directory. I think it's much more easier if I have a routine that run these steps.     

      Bennieboj



        Rookie

      • time flies, ur the pilot
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 7
      Re: Copy the file automatically every the file just closed
      « Reply #3 on: February 15, 2012, 01:09:23 AM »
      You could use autohotkey.
      This is what the program should do:
      1) ask to select a file, starting in the current directory, this is easy (FileSelectFile)
      2) use some way to determine whether the file has been just saved. (like FileGetTime)
      3) if the file has just been modified (i.e. saved, thus you have closed the file) then make a backup using FileCopy
      It's not the best way, but it should get the job done...

      You could also use sofwtare like this:
      http://www.ajcsoft.com/active-backup-tour.htm (you need to pay)
      http://www.addictivetips.com/windows-tips/make-real-time-backup-of-file-changes-in-multiple-folders-mirror/ (<==FREE )

      ok, I saw that last link when I wanted to submit this post. I suggest you use the last link, not my autohotkey program...

      Squashman



        Specialist
      • Thanked: 134
      • Experience: Experienced
      • OS: Other
      Re: Copy the file automatically every the file just closed
      « Reply #4 on: February 15, 2012, 06:25:43 AM »
      Another software option.
      http://www.filehamster.com/