关于windows api访问已删除文件的方法

ljw_0723 2010-05-06 04:11:01
各位高手:
请教一下关于用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这些函数来访问,但是我还是不懂,请高手赐教!
...全文
220 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

3,881

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 其它技术问题
社区管理员
  • 其它技术问题社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧