如何创建虚拟光驱

发布于 2024-12-12 02:35:52 字数 1541 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

白馒头 2024-12-19 02:35:52

编写“虚拟驱动器”需要编写内核级设备模拟驱动程序(基于“SCSI 微型端口”的驱动程序似乎相当流行),这通常意味着 C/C++ ——而这只是开始;-) 这

不是一项简单的任务。可能有一些现有的[开源]代码解决方案至少可以实现一些目标...

以下是我通过一些快速的谷歌护目镜找到的内容:

但是,如果您需要的只是一个工具从目录而不是真正的“虚拟驱动器”(或者,至少是其他人提供的虚拟驱动器),那么这可能是一个简单得多的集成任务......

快乐编码。

Writing a "virtual drive" requires writing a kernel-level device emulation driver (a "SCSI miniport"-based drivers seem fairly popular), which generally means C/C++ -- and that is just the start ;-)

Not a trivial task. There may be some existing [open source] code solutions that get at least some of the way there...

Here are what I have been able to find with some quick google goggles:

However, if all you need is a tool to create an ISO/VHD from a directory and not a real "virtual drive" (or, at least a virtual driver someone else is providing), then that might be a far simpler integration task...

Happy coding.

旧人哭 2024-12-19 02:35:52

方法

我用这个简单的
SUBST

ShellExecute(Handle,'','subst','Z: d:\data',nil, SW_NORMAL) ;

السلام عليكم

I use this simple method
SUBST

ShellExecute(Handle,'','subst',' Z: d:\data',nil, SW_NORMAL) ;

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文