You can write a recursive loop to delete all files using DeleteFile API and then use RemoveDirectory to remove folders. Its easy.