在 Windows 中不使用驱动器号访问 USB 设备

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/370718/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 11:44:28  来源:igfitidea点击:

Accessing a USB device without using the drive letter in Windows

windowsusb

提问by

Is it possible to access a USB drive or Flash card without using the drive letter that Windows assigns it? I thought I read somewhere that the Volume GUID or something can be used but will that allow me to open it up in explorer once I identify it? The reason this is important to me is because there may not be enough drive letters to handle the number of drives so I want to be able to still access them.

是否可以在不使用 Windows 分配的驱动器号的情况下访问 USB 驱动器或闪存卡?我以为我在某处读到可以使用卷 GUID 或其他东西,但是一旦我确定它,我就可以在资源管理器中打开它吗?这对我来说很重要的原因是因为可能没有足够的驱动器号来处理驱动器的数量,所以我希望仍然能够访问它们。

采纳答案by Chris

Here you go:

干得好:

MOUNTVOL C:\USB: \?\Volume{ebc79032-5270-11d8-a724-806d6172696f}\ 

回答by andypaxo

If you are using NTFS, You can create 'volume mount points' in Windows. (Similar to *NIX, if you have used that).

如果您使用的是 NTFS,您可以在 Windows 中创建“卷挂载点”。(类似于 *NIX,如果您使用过它的话)。

Mount points make a folder on your filesystem (your C drive, say) point to another volume, so "C:\usb1" could actually contain the contents of a USB drive.

挂载点使文件系统上的文件夹(例如 C 驱动器)指向另一个卷,因此“C:\usb1”实际上可以包含 USB 驱动器的内容。

There are a couple of articles on the Microsoft site which should point you on your way: How to create and use mounted drivesAbout Volume Mount Points

Microsoft 站点上有几篇文章应该为您指明方向: 如何创建和使用已安装的驱动器关于卷安装点