Path: utzoo!attcan!uunet!world!decwrl!wuarchive!udel!ee.udel.edu From: new@ee.udel.edu (Darren New) Newsgroups: comp.sys.amiga.tech Subject: Re: AmigaDOS questions!! Message-ID: <34801@nigel.ee.udel.edu> Date: 28 Oct 90 22:09:54 GMT References: <1990Oct11.212541.18365@hoss.unl.edu> <15327@cbmvax.commodore.com> Sender: usenet@ee.udel.edu Organization: University of Delaware Lines: 12 Nntp-Posting-Host: snow-white.ee.udel.edu In article oliphant@telepro.UUCP (Mike Oliphant) writes: >What is the "accepted" way of scanning through a directory using Examine(), >ExNext() while deleting the files as you go? Is there an alternative to >having to restart the scan each time you delete a file? Just as a guess, I would say the easiest way would probably be to allocate memory and hold the names of the files you want to delete all at once. If you run out of memory, delete those files and restart the scan. - Darren -- --- Darren New --- Grad Student --- CIS --- Univ. of Delaware --- ----- Network Protocols, Graphics, Programming Languages, Formal Description Techniques (esp. Estelle), Coffee -----