Archived

This topic is now archived and is closed to further replies.

Can't Delete Files!

This topic is 5620 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need help!, I need to delete all the files in a folder and all subfolders that are 8 characters long and that have certain file extension from a C++ Program and to notify the user which files have been deleted (a summary). (btw, I''ve ALREADY tried Google!) I''m New to C++ Using Visual C++ 6.0 WindowsXP Pro Thanks in advance!

Share this post


Link to post
Share on other sites
win32:

FindFirstFile
FindNextFile
DeleteFile

msvcrt (not sure if these are ansi c):

_findfirst
_findnext
remove


---
Come to #directxdev IRC channel on AfterNET

Share this post


Link to post
Share on other sites