查找安装时存储文件的硬盘位置 [英] Find hard drive location that file is stored upon installation

查看:82
本文介绍了查找安装时存储文件的硬盘位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




有没有办法让VB5准确确定硬盘驱动器上.exe文件存储在.exe文件上的确切位置'第一次复制到硬盘?我需要知道的是确切的硬盘扇区,集群,分区等。

信息所以我以后可以用它来确定文件是否曾经

删除并恢复或移动到其他地方。


谢谢。


-----

Odie

解决方案

>有没有办法让VB5准确确定硬盘驱动器上的.exe

文件存储在.exe文件首次复制到硬盘驱动器上的位置?我需要知道的是确切的硬盘扇区,集群,分区等信息,以便稍后我可以使用它来确定文件是否被删除,恢复或移动在其他地方。




你的意思是移动了吗?比如当一个人定期对他/她的硬盘进行碎片整理时会发生什么情况?


Rick


是 - 或删除文件,然后由于重新安装而重新创建它。我希望

能够通过查看.exe

是否实际放在硬盘驱动器的不同位置来查看某人是否重新安装了文件。 br $>
-

-----

奥迪


" Rick Rothstein" < RI ************ @ NOSPAMcomcast.net>在消息中写道

news:89 ******************** @ comcast.com ...

< blockquote class =post_quotes> VB5是否有办法确定.exe文件首次复制到硬盘驱动器上的.exe
文件的确切位置?我需要知道的是确切的硬盘扇区,集群,分区等信息,以便稍后我可以使用它来确定文件是否被删除,恢复或移动别的。



你的意思是移动了吗?比如当一个人经常对他/她的硬盘进行碎片整理时会发生什么?

Rick




Otie < OT ********* @ adelphia.net>在留言中写道

新闻:XI ****************************** @ adelphia.com .. 。

是 - 或删除文件,然后由于重新安装而重新创建它。我希望
通过查看.exe
是否实际放在硬盘驱动器的不同位置来查看某个人是否重新安装了文件。




否..这将是两个完全不同的事件。


Rick问的是由于碎片整理而没有删除数据或

重新安装。如果你想检测删除并重新安装就不会用b $ b来检查时间和日期是最简单的方法吗?


对于碎片整理来说,这很棘手你需要获得文件

的位置表信息。


Hi,

Is there a way for VB5 to determine exactly where on a hard drive a .exe
file is stored upon the .exe file''s first copying to the hard drive? What I
need to know is the exact hard drive sector, cluster, partition, etc.
information so I can use it later on to determine if the file was ever
deleted and restored or moved elsewhere.

Thank you.

-----
Odie

解决方案

> Is there a way for VB5 to determine exactly where on a hard drive a .exe

file is stored upon the .exe file''s first copying to the hard drive? What
I need to know is the exact hard drive sector, cluster, partition, etc.
information so I can use it later on to determine if the file was ever
deleted and restored or moved elsewhere.



Do you mean "moved" like in what happens when a person regularly defragments
his/her hard drive?

Rick


Yes - or deletes the file, then recreates it due to reinstallation. I want
to be able to see if a person has reinstalled a file by seeing if the .exe
has actually been put in a different place on the hard drive.
--
-----
Odie

"Rick Rothstein" <ri************@NOSPAMcomcast.net> wrote in message
news:89********************@comcast.com...

Is there a way for VB5 to determine exactly where on a hard drive a .exe
file is stored upon the .exe file''s first copying to the hard drive? What
I need to know is the exact hard drive sector, cluster, partition, etc.
information so I can use it later on to determine if the file was ever
deleted and restored or moved elsewhere.



Do you mean "moved" like in what happens when a person regularly
defragments his/her hard drive?

Rick




"Otie" <ot*********@adelphia.net> wrote in message
news:XI******************************@adelphia.com ...

Yes - or deletes the file, then recreates it due to reinstallation. I want
to be able to see if a person has reinstalled a file by seeing if the .exe
has actually been put in a different place on the hard drive.



No.. that would be TWO ENTIRELY different events.

What Rick asked was data being moved due to defrag not delete or
reinstall. If you want to detect delete and reinstall wouldn''t
checking the time and date be th easiest approach?

For the defrag, that gets tricky since you will need to get the file
alocation table info.


这篇关于查找安装时存储文件的硬盘位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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