wordpress   发布时间:2022-04-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了如何在Windows中打开磁盘并以低级别读取数据?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我知道在linux中它就像/ dev / sda一样简单但在Windows中如何打开磁盘并开始在低级读取数据? 在python我尝试过: f = open("K:", "r") 我收到此错误: TraceBACk (most recent call last): File "<stdin>", line 1, in <module> IOError: [Errno 13] Permission
我知道在linux中它就像/ dev / sda一样简单但在Windows中如何打开磁盘并开始在低级读取数据?

在python我尝试过:

f = open("K:","r")

我收到此错误

TraceBACk (most recent call last):
  File "<stdin>",line 1,in <module>
IOError: [Errno 13] Permission denied: 'K:'

即使是管理员,我也会收到此错误.

http://support.microsoft.com/kb/100027起 @H_502_15@

To open a physical hard drive for
direct disk access (raw I/O) in a
Win32-based application,use a device
name of the form

\\.\PhysicalDriveN
@H_502_15@

where N is 0,1,2,and so forth,
represenTing each of the physical
drives in the system.

To open a logical drive,direct access
is of the form

\\.\X:
@H_502_15@

where X: is a hard-drive partition letter,floppy disk drive,or CD-ROM drive.

@H_675_49@

大佬总结

以上是大佬教程为你收集整理的如何在Windows中打开磁盘并以低级别读取数据?全部内容,希望文章能够帮你解决如何在Windows中打开磁盘并以低级别读取数据?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。