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.

Thread locked

Messages in this Thread

94,417 Postings in 11,916 Threads, 348 registered users, 9 users online (1 registered, 8 guests)
Index | Admin contact |   Forum Time: Aug 26, 2019 - 12:49 am EDT  |  Hits:28,567,674  (108 Today )
RSS Feed