关于windows api访问已删除文件的方法
各位高手:
请教一下关于用windows api访问已删除的文件。我在网上搜都没有给出很明确的方法或者具体实现。只是发现一个老外提到
I deleted some files (only data and text files, no dlls nor exes) from my application installed in the Program Files folder in Vista. I even removed the deleted files from recycle bin.
But all file functions in Windows API, (e.g. GetFileAttributes, fopen, fread) still have full access to the deleted files. These deleted files can still be read normally as if they were not deleted at all.
也就是可以用GetFileAttribute这些函数来访问,但是我还是不懂,请高手赐教!