Search code examples
windowsrustsubst

How to create a virtual drive on windows in Rust?


How to create a virtual drive on Windows in Rust? (Similar to what the subst command does on windows) I don't seem to find such an API in Rust.


Solution

  • thanks @solomon-ucko @caesar , I wrapped a tool library win_subst based on windows-rs for convenient use.