[HELP] File Type DeletingOk Lets say i got a folder with all different file types in it.. ect. jpg, png, dll, exe, ini, blah blah blah And i wanted to just delete the files that are .jpg.. Can someone point me in the right direction of doing so
Shouldn't be too hard. FindFirstFile Function (Windows) FindNextFile Function (Windows) WIN32_FIND_DATA Structure (Windows) The file name is the member 'cFileName' in the WIN32_FIND_DATA structure. From there you can just do a bit of string manipulation to delete the files you want.