REPOST:如何获取RecycleBin内部的文件名 [英] REPOST: How to Get File Names that are inside RecycleBin

查看:151
本文介绍了REPOST:如何获取RecycleBin内部的文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,

  我有一个应用程序,其中必须找到并显示回收站文件夹中所有文件的名称

告诉我如何使用VC ++/MFC

这是上一页的转发问题.

解决方案

http://en.wikipedia.org/wiki/Recycle_Bin_%28Windows%29 

回收站的实际位置取决于操作系统和文件系统.在较旧的FAT 文件系统(通常为Windows 98及更低版本)上,该文件位于 驱动器:\ RECYCLED.在 NTFS 文件系统(Windows 2000,XP,NT)中,可以在中找到 Drive:\ RECYCLER,但Windows Vista和Windows 7将其存储在 Drive:\


Recycle.Bin文件夹

http://blogs.msdn.com/oldnewthing/archive/2006/01/31/520225.aspx  

 

FAT和NTFS回收站的内部结构不同 因为NTFS具有这种叫做安全性"的东西,而FAT没有. FAT驱动器上的所有回收文件都转储到一个文件中 C:\RECYCLED目录,而回收文件 根据用户的SID将NTFS驱动器上的驱动器分为 我想您可以列出提到的文件夹中的文件,但实际名称存储在单独的文件中.找不到任何内容.



hi all,

   i have an application in which in have to find and display the name of all files that are in side the recyclebin folder

tell me how to do it using VC++/MFC

This is a repost of a previous question.

解决方案

http://en.wikipedia.org/wiki/Recycle_Bin_%28Windows%29 

The actual location of the Recycle Bin varies depending on the operating system and filesystem. On the older FAT filesystems (typically Windows 98 and prior), it is located in Drive:\RECYCLED. In the NTFS filesystem (Windows 2000, XP, NT) it can be found in Drive:\RECYCLER, with the exception of Windows Vista and Windows 7 which stores it in the Drive:\


Recycle.Bin folder

http://blogs.msdn.com/oldnewthing/archive/2006/01/31/520225.aspx  

 

The FAT and NTFS Recycle Bins have different internal structure because NTFS has this thing called "security" and FAT doesn''t. All recycled files on FAT drives are dumped into a single C:\RECYCLED directory, whereas recycled files on NTFS drives are separated based on the user''s SID into directories named C:\RECYCLER\S-....

 

I suppose you could list the files from the folders mentioned, but the actual names are stored in a separate file... couldn''t find anything on that


这篇关于REPOST:如何获取RecycleBin内部的文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆