Board index » delphi » File Delete with wild card and recursive search Help Please

File Delete with wild card and recursive search Help Please

Hello Fellow Programmers,

Would anybody have any good examples on how to do a file delete that
is able to use wild cards with recursive dir searching?  Need to
delete all files with a extension on a hard drive i.e. "*.doc" files
on drive c:\  I have this semi working in Pascal 7, I'm new to Delphi
but I love it so far.  My Pascal 7 source fails when it comes to long
Win98 files names and sometimes stack overflow due to excessive dirs.
This program does not use a GUI, just exe that runs in the background.
It also needs to account for files with spaces and files with multible
periods in the name like "statement final.1.doc"

Any help is much appreciated,

Thank you,

Johnny
Please email me at joh...@smartlink.net

 

Re:File Delete with wild card and recursive search Help Please


Quote
Serial # 19781010 wrote:

Answered in previous thread. Please do not multi post.

Regards,
Udo
--
Please reply to newsgroup. No PMs unless requested.

Other Threads