topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 5:12 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: How to automate this?  (Read 4065 times)

moerl

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 404
    • View Profile
    • Donate to Member
How to automate this?
« on: November 04, 2005, 11:19 PM »
How could I automate the following: http://kb.mozillazine.org/Profile_backup ?

Just wondering.. I've never dealt with automation before and wonder how it could be done. Then there is also this: http://mozbackup.jasnapaka.com/ which seems like a nice alternative, I just don't know if both methods yield the same result.

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,066
    • View Profile
    • Donate to Member
Re: How to automate this?
« Reply #1 on: November 05, 2005, 08:30 AM »
A simple batch file would do the job:

Make a text file in Notepad and add lines like

copy <path to folder you want to copy> <destination folder where it is to go>

replacing the paths with the specific ones for your system (note if the paths contain any spaces they must be enclosed in " ")

Add a line like this for each one you want to copy

Save it somewhere with a .bat extension.

Double click the file to do the backup.

If you want to automate the other steps (compacting mail etc) you need to record a macro somewhere to perform those steps. You could add a double click on the batch file as the last step.

Is this what you want or are you thinking of how do I schedule this to happen regularly without me doing anything? In which case you could use the Windows Backup Program (See Programs > Accessories > System Tools > Backups) where you can set up a scheduled backup of just the folders/files you want.