-
Notifications
You must be signed in to change notification settings - Fork 673
Use Mirror example
Mirror is a simple command-line software that consumes the Dokan C API. It simply mirrors an existing folder in a dokan virtual drive by forwarding every IO call received by the virtual driver to the filesystem driver serving the existing folder.
Mirror.exe is embedded with dokan install in Dokan\DokanLibrary-1.0.0\sample\mirror
when the option Install Dokan development files
is checked during the installation.
You can also build it from the source with Visual Studio.
/r RootDirectory (ex. /r c:\\test)
/l DriveLetter (ex. /l m)
/t ThreadCount (ex. /t 5)
/d (enable debug output)
/s (use stderr for output)
/n (use network drive)
/m (use removable drive)
Mirror C:\Users
as RootDirectory in to a drive of letter M:\
.
mirror.exe /r C:\Users /l m
Mount as removable drive
mirror.exe /m /r C:\Users /l m
Mount as network drive
mirror.exe /n /r C:\Users /l m
Mount as read only drive
mirror.exe /w /r C:\Users /l m
Enable debug output stderr
mirror.exe /d /s /r C:\Users /l m
Note: To unmount the drive, just press CTRL + C
in the console.
Dokan
Project Home | Wiki | Releases | Issues