路径prefixes \\ ?? \\和\\\\?\\ [英] Path prefixes \??\ and \\?\

查看:203
本文介绍了路径prefixes \\ ?? \\和\\\\?\\的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么用 \\ ?? \\ pfixed路径$ P $以及prefixed与 \\\\?\\

What is the difference between paths prefixed with \??\ and those prefixed with \\?\

在Windows 7的CMD行

At Windows 7 CMD-Line


  • DIR给出: \\ ?? \\ {卷} 00000000-0000-0000-0000-000000000000 \\

  • WMIC卷列表给出了 \\\\?\\ {卷} 00000000-0000-0000-0000-000000000000 \\

  • DIR gives: \??\Volume{00000000-0000-0000-0000-000000000000}\
  • WMIC VOLUME LIST gives \\?\Volume{00000000-0000-0000-0000-000000000000}\

感谢

附加信息:结果
我创造了我的系统驱动器上的目录,我把我所有的挂载点到。所以,我做了一个 MD C:\\硬盘,再一个
MD C:\\硬盘\\ DRIVE1 MD C:\\硬盘\\ DRIVE2 ...我所有的驱动器。这些空目录安装驱动器后,我可以看到与 CD / DC转换到该目录中的GUID:\\硬盘和issueing一个 DIR 命令。也许我都要出具 DIR /啊来显示隐藏的东西,以防万一挂载点被隐藏目录...

Additional Information:
I created a directory on my system drive where i placed all my mount points into. So I did a MD C:\HDDs first, then a MD C:\HDD\Drive1, MD C:\HDD\Drive2 ...for all my drives. After mounting the drives on those empty directories, I can see the GUID by switching to that Directory with CD /D C:\HDDs and issueing a DIR command. Maybe I have to issue a DIR /ah to Show hidden stuff, just in case the mount points are hidden directories ...

推荐答案

注:这个答案是不正确。看看我的新的答案。

NB: this answer is incorrect. See my new answer.

OK,我已经在Windows下的研究内核源码code偷看,帮助澄清这一点。

OK, I've had a peek at the Windows Research Kernel source code to help clarify this.

两者 \\\\。\\ \\ ?? \\ 引用的 DOS设备名称空间。然而, \\ ?? \\ 是指全球DOS设备名称空间,而 \\\\?\\ 指的是本地DOS设备名称空间。

Both \\?\ and \??\ refer to the DOS devices namespace. However, \??\ refers to the global DOS devices namespace, whereas \\?\ refers to the local DOS devices namespace.

这篇关于路径prefixes \\ ?? \\和\\\\?\\的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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