Is there a way to delete multiple files in a directory from C? I know there is the "remove" function...but, I think that is only to remove a single file, correct? What I'm looking for is something like "remove(*.dat)". Is that possible? If not, does someone have a simple algorithm that maybe loops though the *.dat files in a directory, and "removes" each one...one by one?
Thanks in advance!
Thanks in advance!