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)
- @ECHO OFF
- ECHO using %1_%DATE:~0,2%%DATE:~3,2% in addition to a random number.
- ECHO Beginning backup of %1
- ECHO Navagating to C:\Documents and Settings\Administrator\My Documents\EA Games\The Sims 2\Neighborhoods
- CD C:\
- CD "C:\Documents and Settings\Administrator\My Documents\EA Games\The Sims 2\Neighborhoods\"
- CD %1
- ECHO Running 7Zip
- 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.
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.