Subj : ffind => del To : Jasen Betts From : mark lewis Date : Wed Jun 04 2003 04:14 pm ml>> set curline=%@inc[%curline%] ml>> iff exist %hfname% then ml>> echo %_TIME% DELETION: Deleting %hfname% >> %logname% ml>> else ml>> echo ! %_TIME% DELETION: %hfname% not found! >> %logname% ml>> endiff ml>> set curline=%@inc[%curline%] ml>> if %curline% LT %linecnt% goto loop JB> I noticed that you inc curline twice in the loop yes, it was modified "on the fly" from something that processes two lines for one file... JB> and also that nowhere in the loop do you delete the file! JB> looks like a couple of bugs to me. argh! that's because i removed the original command and forgot to put in the del statement... oh well... it did give an example of processing a file, line by line and doing something with those results... granted, it was (somewhat) overkill for the actual task at hand... JB> also delete errors aren't logged... (read-only or locked JB> files, illegal filenames, etc...) i've not seen any others that do this, either <> )\/(ark * Origin: (1:3634/12) .