Jump to content
  • Advertisement

Archived

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

Huezo

Can't Delete Files!

This topic is 5958 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!