有没有办法复制 Internet 临时文件?
帮助我如何在 xp 或更高版本上从临时 Internet 文件复制文件。 copyfile 没有正在处理它。
我想让它像 CopyFileEx(scr, dst):boolean
help me how to copy file from Temporary Internet Files on xp or higher. copyfile not is working on it.
i want to make it like CopyFileEx(scr, dst):boolean
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为您使用了错误的路径。此文件夹 [Internet 临时文件] 具有特殊的结构,要查看此结构,请尝试使用 [faAnyFile] 属性进行搜索,如下所示:
您会发现其中有一些文件夹,例如 ( Content.IE5、Content.MSO、AntiPhishing...),在 Content.IE5 文件夹下,您还可以找到具有随机名称的子文件夹,如下所示:
因此,如果您正在寻找现金文件,您可以在这些随机子文件夹中找到它但你必须编写搜索算法来搜索这些文件夹中你想要的文件,然后你可以使用它的真实路径复制它。
编辑:
您还可以使用 dos CMD 中的 dir 命令查看 [Internet 临时文件] 目录的真实结构,如下所示:
顺便说一句:不要忘记在 Dos 中使用短路径名称。
I think you are using wrong path. this folder [Internet temporary files] has especial structure, to see this structure, try to search it with [faAnyFile] attribute like this:
You will find some folders there like (Content.IE5, Content.MSO, AntiPhishing… ), under folder Content.IE5 you can also find sub-folders with random names like this:
So,if you are looking for the cash files you can find it in these random sub-folders but you have to write search algorithm to search these folders for the file you want, and then you can copy it using its real path.
EDIT:
also you can see the real structure of the [Internet temporary files] directory using the dir command from dos CMD like this:
BTW: don't forget to use th Short Path Name in Dos.
使用 IE 缓存的最佳方法是使用 WinInet API,在本例中为
GetUrlCacheEntryInfo/Ex()
函数。传入原始 URL,它将返回缓存文件的确切本地路径(除其他外),然后您可以根据需要复制该路径。另请查看用于枚举缓存内容的FindFirst/NextUrlCache...()
函数。The best way to work with IE's cache is to use the WinInet API for that, in this case the
GetUrlCacheEntryInfo/Ex()
functions. Pass in the original URL, and it will return the exact local path to the cached file (amongst other things), which you can then copy as needed. Also have a look at theFindFirst/NextUrlCache...()
functions for enumerating the contents of the cache.