How would i go about writing a program that deleted files (temp internet files, recent files, emptied recycle bin) there has probably been a post like this before pls post links if so, or to a tutorial
Thanx in advance
This is a discussion on Program to delete files within the Windows Programming forums, part of the Platform Specific Boards category; How would i go about writing a program that deleted files (temp internet files, recent files, emptied recycle bin) there ...
How would i go about writing a program that deleted files (temp internet files, recent files, emptied recycle bin) there has probably been a post like this before pls post links if so, or to a tutorial
Thanx in advance
Use FindFirstFile() and the FindNextFile() with the directory and file mask you want then call DeleteFile() to remove them. Look them up in the help or at MSDN.
Using the search you'll find example of them in this forum.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.