Sims 2 NHOOD Backup Batch Script

You'll need to have the command line version of 7-Zip to make this work..

Also remeber that your first paramater must be the folder (name) of your hood (I.E. N006)

  1. @ECHO OFF
  2. ECHO using %1_%DATE:~0,2%%DATE:~3,2% in addition to a random number.
  3. ECHO Beginning backup of %1
  4. ECHO Navagating to C:\Documents and Settings\Administrator\My Documents\EA Games\The Sims 2\Neighborhoods
  5. CD C:\
  6. CD "C:\Documents and Settings\Administrator\My Documents\EA Games\The Sims 2\Neighborhoods\"
  7. CD %1
  8. ECHO Running 7Zip
  9. D:\COMMAND\7Zip\7za.exe a -t7z %1_%DATE:~0,2%%DATE:~3,2%_%random%.7z *

Batch Scripts are pretty straight forward, and as short as this one is, I didn't comment it.

How to make it work for you

As always, this is the script I use, but that's not to say it will work for you as-is. There's a few things you will need to alter before it will work for you.