Results 1 to 10 of 10

Thread: backup macro

  1. #1
    crash_course
    Guest

    backup macro

    anyone know of a way that i can backup a particular file on the shutdown (of computer or program) to a network drive

    this is for a user that has little computing power

    thanks in advance!!

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: backup macro

    Are you looking for something that will backup the file regardless of how they shut down (other than crash/power fail etc), a desktop shortcut to do the copy manually, or an alternative single shortcut that would backup and then shutdown?

  3. #3
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: backup macro

    Re-reading your post - is the closing of the program an alternative or an 'either'? - if so, what is the prog?

  4. #4
    crash_course
    Guest

    Re: backup macro

    the program is called 'sierra gold' ... it looks to be just a front end package for access. im looking for the least amount of user interaction if possible ...

    thanks in advance!!

  5. #5
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: backup macro

    There are several shutdown utilities (free) for W95/W98 <A target="_blank" HREF=http://www.bookcase.com/library/software/win9x.util.undef.html>here</A> which you could use in conjunction with a batch file to copy the file at shutdown.
    If you need help with the batch file, let us know the full path + filename of both source and destination and I'll try and cobble something together.

  6. #6
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: backup macro

    You can use the Windows Scheduler (called AT) to schedule a batch file to run and whatevre interval you want. The batch file can then copy the file. This is a little tricky as the batch file will run in the System context and the network drives will not be mapped. You will have to put a command in the batch file to map the drive you need. I use this technique to backup all my files at 2am every night.
    Legare Coleman

  7. #7
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Tennessee
    Posts
    194
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: backup macro

    how do you map the drives in a batch file

  8. #8
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: backup macro

    It depends on what nework you are using, each network has its own command.

    Unfortunately, my aging memory has forgotten the command I used, and I am traveling at the moment and will not be back home where I can look until early July.
    Legare Coleman

  9. #9
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: backup macro

    I would suggest you use something along the lines of:

    Copy c:documentsfilename.doc servernamesharenamefolder

    From the DOS window you can type this in directly to check it works, then create a batch file (using something like Notepad) and save it as (e.g.) CopyDoc.bat

    To run it, just type in CopyDoc.bat

  10. #10
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: backup macro

    I did find a copy of my batch file on a backup cd, and I use the NET USE command to map the drive in a NT network:

    NET USE T: servernamesharename password /USER:domainuserid
    Legare Coleman

Posting Permissions

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