ZTree.com  | ZEN  | About...  

 Index   Back

[ZEP] ZLog Auto-Save   [ZEP]

By: Peter Shute       
Date: Feb 11,2019 at 19:09
In Response to: [ZEP] ZLog Auto-Save (John Leslie)

I used to run a nightly scheduled task to log one large drive and save a zlog file that I could access if required. I think these are the commands I used:
"c:\program files\ztree\ztw" /LF /LQ E: /KALT_Z,Q,e:\systemtasks\ztreesnapshots\ztlogE.tmp,RET,y
copy e:\systemtasks\ztreesnapshots\ztlogE.tmp e:\systemtasks\ztreesnapshots\ztlogE.%date:~4,2%

I can't remember exactly what it did with the date in the copy command, but I think it added the day of the month to the file name so it would keep the last 30 or so.

92 views      
 

Messages in this Thread

 
94,242 Postings in 11,887 Threads, 347 registered users, 9 users online (0 registered, 9 guests)
Index | Admin contact |   Forum Time: Apr 26, 2019 - 1:56 am EDT  |  Hits:27,538,655  (213 Today )
RSS Feed