Subj : Re: Renaming/dating directories FTP server (date) on content directorie To : Gerald.Miller@xspamp0.f512.n342.z1. From : Klaus Meinhard Date : Sat Dec 22 2001 01:38 am From: "Klaus Meinhard" Gerald, > I am trying to devise a method to "read" the FD.LOG file and > "find" the LAST occurrence of 'RTime:' within the file, strip the > "date string" (14 Dec 01,) and obtain the Remote system's time to > a variable. Repeat the process for 'LTime', perform the math to > determine if: a.) LTime is identical to RTime [no action], b.) > LTime is MORE than RTime [SUBTRACT the time difference from > LTime], or c.) LTime is LESS than RTime [ADD the time difference > to LTime]. > > So far, I haven't had any success with "reading" the log file or > finding the LAST occurrence of 'RTime:' within the file.... Your > suggestion(s) to a solution would be appreciated. What does a FFIND /f/k/m/r/t"RTIime" filename.log give you? Pipe that to INPUT, parse out the needed value, and there you are... Happy Xmas, -- Viele Gre, best regards, *Klaus Meinhard* 0736'57" East 5307'52" North Author of the 4XBTM batch collection at http://www.4xbtm.de --- BBBS/NT v4.01 Flag-2 * Origin: Mach2 Systems (1:342/3) .