TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: Renato Zambon
from: Dale Shipp
date: 2003-06-02 00:09:04
subject: Re: ffind = del

-=> On 06-01-03  15:27,  Renato Zambon <=-
 -=> spoke to All about ffind => del <=-

 RZ> Small doubt: how can I delete a list of files created by ffind?

 RZ> Example:

 RZ> ffind /b /t"blablabla" *.ext > deleta.lst
 RZ> del ???

 RZ> (??? = list of files in deleta.lst)

  I don't know how to do it in 4DOS, but I'd take the list and use my
  trusty QEDIT to insert a *del in front of each file name using its
  column edit procedures.   Then I'd snip out any extraneous info
  following the file name using its block edit procedures.  Stick an
  "echo off" at the top, and save as deleta.bat or deleta.cmd so that I
  could execute it.

  But I'd be interested in hearing answers to the direct question.
                                 
  Have you thought of attempting to pipe the output of ffind into the
  delete command?

  Looking at my documentation for 4NT, I see reference to {at}file lists.
  Although I have never used them, it sounds like if you executed the
  command line of
  del {at}deleta.lst
  then you would get what you want -- it would use deleta.lst as a list
  of file names to delete, one at a time.  Of course you could add on
  the other parameters to del (silent, assume yes response etc.).
  You might experiment and see if that works with 4DOS also?

                        dale (at) min (dot) net
                              (1:261/1466)


... Shipwrecked on Hesperus in Columbia, Maryland. 00:03:21, 02 Jun 2003
___ Blue Wave/DOS v2.30

--- Maximus/NT 3.01
* Origin: Owl's Anchor (1:261/1466)
SEEN-BY: 633/267 270
@PATH: 261/1466 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.