有人可以帮助这个吗? [英] Could someone help with this one?

查看:97
本文介绍了有人可以帮助这个吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法正常工作:


File.Create(" \\\\\PHYSICALDRIVE0")



File.Create(" \\\\\Tape0")

我一直在寻找这一周的大部分时间。


谢谢,

JLW

I cannot get this to work correctly:

File.Create("\\.\PHYSICALDRIVE0")
or
File.Create("\\.\Tape0")
I''ve been searching for the better part of a week for this one.

Thanks,
JLW

推荐答案

您在尝试时收到错误消息在

驱动器上创建文件>?

" JLW" <关于*** @ someplace.com>在消息中写道

news:uG ************* @ tk2msftngp13.phx.gbl ...
are you getting an error message when you try to create the file on the
drive>?
"JLW" <as***@someplace.com> wrote in message
news:uG*************@tk2msftngp13.phx.gbl...
我无法让这个工作正确:

File.Create(" \\\\\PHYSICALDRIVE0")

File.Create(" \\.\Tape0" )

我一直在寻找这一周的大部分时间。

谢谢,
JLW
I cannot get this to work correctly:

File.Create("\\.\PHYSICALDRIVE0")
or
File.Create("\\.\Tape0")
I''ve been searching for the better part of a week for this one.

Thanks,
JLW



实际上,我正在尝试打开驱动器本身。我知道这听起来很疯狂,但是

我首先专注于\\.\TAPE0,所以我可以做一个备用程序

赢了我花了几千美元。第一个将返回一个

句柄,但对于TAPE0,我没有处理。我转而使用File.Open

,这似乎有点帮助。我希望能够在

低水平打开硬盘,这样我也可以让自己成为一个低级格式化程序(Zero-Fill

驱动器)。 />

谢谢,

JLW

" Mike" <一个******* @ discussions.microsoft.com>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Actually, I''m trying to open the drive itself. I know it sounds crazy, but
I''m concentrating on the \\.\TAPE0 one first, so I can make a backup program
that won''t cost me a few thousand bucks. The first one will return me a
handle, but for the TAPE0, I get no handle. I switched to using File.Open
and that seems to help a bit. I want to be able top open the harddrive at a
low level so that I can also make myself a low-level formatter (Zero-Fill
drive).

Thanks,
JLW
"Mike" <an*******@discussions.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
你呢当您尝试在
驱动器上创建文件时收到错误消息>?
" JLW" <关于*** @ someplace.com>在消息中写道
新闻:uG ************* @tk2msftngp13.phx.gbl ...
are you getting an error message when you try to create the file on the
drive>?
"JLW" <as***@someplace.com> wrote in message
news:uG*************@tk2msftngp13.phx.gbl...
我无法正常工作:

File.Create(" \\\\\PHYSICALDRIVE0")

File.Create(" \\.\Tape0")

我一直在寻找这一周的大部分时间。

谢谢,
JLW
I cannot get this to work correctly:

File.Create("\\.\PHYSICALDRIVE0")
or
File.Create("\\.\Tape0")
I''ve been searching for the better part of a week for this one.

Thanks,
JLW




您好,JLW

您可能需要使用Win32 API CreateFile - 请参阅
中的完整说明
平台SDK帮助或在​​MSDN上。

我认为.Net有一些限制,哪些文件可以通过

标准框架方法打开。


HTH

Alex


" JLW" <关于*** @ someplace.com>在消息中写道

新闻:OC ************** @ TK2MSFTNGP10.phx.gbl ...
Hi, JLW

you might need to use Win32 API CreateFile - see full description in
Platform SDK help or on MSDN.
I think .Net has some limitations, which files could be opened through
standard framework methods.

HTH
Alex

"JLW" <as***@someplace.com> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
实际上,我是'我试图打开驱动器本身。我知道这听起来很疯狂,
但是我首先专注于\\.\TAPE0,所以我可以制作备用
计划,不会花费我几千元雄鹿队。第一个将返回一个
句柄,但对于TAPE0,我没有处理。我转而使用File.Open
这似乎有点帮助。我希望能够在
a低水平打开硬盘,这样我也可以让自己成为一个低级格式化程序(Zero-Fill
驱动器)。

谢谢,
JLW
迈克 <一个******* @ discussions.microsoft.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Actually, I''m trying to open the drive itself. I know it sounds crazy, but I''m concentrating on the \\.\TAPE0 one first, so I can make a backup program that won''t cost me a few thousand bucks. The first one will return me a
handle, but for the TAPE0, I get no handle. I switched to using File.Open
and that seems to help a bit. I want to be able top open the harddrive at a low level so that I can also make myself a low-level formatter (Zero-Fill
drive).

Thanks,
JLW
"Mike" <an*******@discussions.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
您收到错误消息当您尝试在
驱动器>?
JLW上创建文件时<关于*** @ someplace.com>在消息中写道
新闻:uG ************* @tk2msftngp13.phx.gbl ...
are you getting an error message when you try to create the file on the
drive>?
"JLW" <as***@someplace.com> wrote in message
news:uG*************@tk2msftngp13.phx.gbl...
我无法正常工作:

File.Create(" \\\\\PHYSICALDRIVE0")

File.Create(" \\.\Tape0")

我一直在寻找这一周的大部分时间。

谢谢,
JLW
I cannot get this to work correctly:

File.Create("\\.\PHYSICALDRIVE0")
or
File.Create("\\.\Tape0")
I''ve been searching for the better part of a week for this one.

Thanks,
JLW





这篇关于有人可以帮助这个吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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