有没有将目录虚拟成光驱的软件?(72分)

  • 主题发起人 主题发起人 kite20020304
  • 开始时间 开始时间
K

kite20020304

Unregistered / Unconfirmed
GUEST, unregistred user!
如题
我想在虚拟机中访问主机中的一个目录,但是不想将该目录打包成ISO
 
目前还没见到有,,只有虚拟成硬盘的。。郁闷。。。等高手弄出来吧[:D][:D][:D]
 
TdcVirtualDrives component
Properties Methods

Overview
The dcVirtualDrives component lets an application to define, redefine and delete the virtual drives in the file system.



The Virtual Drives (also known as MS-DOS device names) is the symbolic links, in the object name space in 32-bit versions of Windows, which points to the directories of your existing drives (hard, floppy, CD and so on). The code that converts an MS-DOS path into a corresponding path in 32-bit versions of Windows uses these symbolic links to map the virtual devices and drive letters.



The dcVirtualDrives can manage the virtual drives either at run- and design-time, on either Win9x or NT-family machines.



How to use?
The dcVirtualDrives component automatically detects available virtual drives and returns the drive names in the VirtualDrives property. To get the target directory of the virtual drive - specify the first letter of this drive in the Drive property, and get the path of target directory from Target property.



To add the virtual drive to the file system, or redefine existing virtual drave to another target - use AddDrive method. To delete the virtual drive - use DeleteDrive method.



The list of UnusedDrives is a good reference to give you an idea which drives are currently free and can be defined as virtual drive.



Notes
You can NOT specify the Drive when the VirtualDrives list is empty, and can NOT specify the Target directory when the Drive is not specified.



To add the new virtual drive at design-time, click the right mouse button on the component image and select "Add virtual drive..." menu item.
 
只知道subst能虚拟目录到磁盘,光驱就...
subst z: D:/XXX/
subst z: /d
 
有,在www.2ccc.com可以找到。
 
以前有一个VCD3的软件可以,dos下的
 
我做了一个文件虚拟成光驱的放在www.2ccc.com上了.
就是文件的各个字节对应光盘的各个字节.
Windows系统下目录虚拟光驱比较难.如果要读取光盘上的扇区你怎么定位呢?
 
多人接受答案了。
 

Similar threads

D
回复
0
查看
896
DelphiTeacher的专栏
D
D
回复
0
查看
863
DelphiTeacher的专栏
D
后退
顶部