Give me space. Stop shining

minime28

Tuesday, February 16, 2010

Appending a date to files

7z.exe a "c:\temp\onenote_%date:/=%.zip" "C:\Users\\AppData\Local\Microsoft\OneNote\12.0\Backup\Personal Notebook"

A simple way of appending a date to a backup file. It works by stripping out the '/' symbol from the date, which may not seem seem like much but always had me stumped. I found a few date scripts on the web but those were just too complicated for me.  This will be very useful for backups of Onenote, great program it might be but could really use an export data function. The program backup data automatically by default to the hidden application data folder. How difficult would it be to add that option and let folks backup their data easily? 

Another way would be to use Namedate , a program that appends dates to a specified program. 

Labels:

0 Comments:

Add a comment

Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »