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.


Messages in this Thread

94,319 Postings in 11,901 Threads, 347 registered users, 12 users online (1 registered, 11 guests)
Index | Admin contact |   Forum Time: Jun 24, 2019 - 11:34 am EDT  |  Hits:27,922,147  (1,047 Today )
RSS Feed