DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: How to automate this?  (Read 5,636 times)

moerl

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 404
How to automate this?
« on: November 05, 2005, 05:19 AM »
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,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Re: How to automate this?
« Reply #1 on: November 05, 2005, 02:30 PM »
A simple batch file would do the job:

Make a text file in Notepad and add lines like

Code
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.

Original address: https://www.donationcoder.com/forum/index.php?topic=1422.0