使用windows api來移除檔案,主要有2種api:
一是windows shell的SHFileOperation
二是DeleteFileTransacted與DeleteFile
相關link:
windowssdk--- DeleteFile DeleteFileTransacted SHFileOperation
examples-------- Deleting locked files SHFileOperation Demo
Common Questions Concerning the SHFileOperation API: Part 1 Part 2
沒有留言:
張貼留言