On Thursday March 12 1998 at 05:27, Stewart Honsberger wrote to
to All about Delete all files:
SH> Hullo (again) all. I have a routine to delete files (individually),
SH> but is there a way to delete ALL (*.*) files in any given directory?
SH> (Without deleting and re-creating the directory of course). Any
SH> example code would be appreciated! TIA!
Use FindFirst and FindNext to search for files with mask '*.*'. The Assign,
Erase, and Find the next until DosError0. (See FindFirst and FindNext in TP
help).
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Frans Flippo
- - - - - - - - - - - - - - - - - - -
Fidonet -=- 2:2801/300.3
Zodnet -=- 115:300/0.2
Internet -=- rabbit@QuackQuack.com
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
--- FMailX32 1.42/g+
---------------
* Origin: Rabbit Software (2:2801/300.3)
|