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.

180 views      
Thread locked
 

Messages in this Thread

 
94,591 Postings in 11,933 Threads, 348 registered users, 16 users online (1 registered, 15 guests)
Index | Admin contact |   Forum Time: Nov 20, 2019 - 7:29 pm EST  |  Hits:29,206,659  (19,900 Today )
RSS Feed