Question

I implemented a virtual filesystem using Dokan. I tried to set the drive letter to C but it errors every time. I was wondering if there is a different virtual filesystem which will allow me to do that or if there is a way of fixing it. Is there some windows api call which will allow me to remount the filesystem in a folder?

Thanks!!!

EDIT: The windows manager does not list the virtual drive, so I cannot mount it through the usual Windows interface. Also, I tried to change the drive name through the property interface and it wouldnt let me do that either.

Was it helpful?

Solution

The MS-DOS SUBST Command allows you to assign to a drive letter the content of a file system folder:

subst z: c:\MyFolder

OTHER TIPS

Use DoaknMountPoint to create a mount point in a existing C drive. Firat make sure Dokan.dll has that API supported. Drive can be mounted from D thru Z. hope this helps

Dokan doesn't create a disk device, that's why you can't see it in device manager or mount it to a folder. In opposite, our Callback File System supports all of this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top