Subj : sweep To : Jonathan De Boyne Pollard From : Eddy Thilleman Date : Tue Jul 24 2001 04:43 pm Hello Jonathan, In april, I posted my little sweep.pas source code to which you commented. I've now made a new sweep.pas which addresses (some) of your comments. I call now DosFindFirst, DosFindNext and DosFindClose instead of FindFirst and FindNext; and replaced the call to Exec by a call to SysExecute, because Virtual Pascal comes with full source code of its runtime code enabling me to copy the code inside the Exec procedure to my program. This code calls SysExecute of which I've the source code so I can see what's doing, but I'm not pretending I understand it (maybe after much studying it). I call the command interpreter (%COMSPEC%) to execute the command in each subdirectory. This new version of sweep has the same small delays as the previous one, so these delays might be caused by calling the command interpreter (CMD.EXE on my system). The compiled exe file of this new version of sweep is a little over twice the size of the exe file of the previous version to which you commented. If you want, I'll post the source code of this new sweep version. Greetings -=Eddy=- email: e.thilleman@freeler.nl e.thilleman@hccnet.nl .... Never mind the bloat or quality, look how quickly it was produced! --- GoldED/2 3.0.1 * Origin: CLICK HERE to play embedded .WAV file (1:2320/38.3) .