Clearing A Folder

Question by Peter H.

Is there a simple Delphi4.0 equivalent to the following DOS command:

delete c:\f\p\*.*

In other words, is there a command, or procedure, to delete all files from a sub-directory?

Thanks.
Peter

Answer by John, DelphiLand Team