by Ruturaaj (4 Submissions)
Category: Windows API Call/Explanation
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (25 Votes)
You might have seen few tools/codes on VBC creating Virtual Drives using subst.exe (found under windows directory) ... but this adds a dependancy over external executable file. Have you seen any code on VBC which will mount a Virtual Drive without using subst.exe ??? I haven't. Even though subst.exe is the simplest way to do it, but still, if you are like me who don't really like to Shell external executable to perform certain task, then here is the solution for you. I found that I can create Virtual Drives with API ... and I have tried to demonstrate the same technique in this Visual Basic program. It's made as easy as possible, so that you can use it in your projects without any problem. This method helped me a lot in my FTP project ... hope that you will also find it useful. If so, then please come back and vote.
Download Create Virtual Drive (no subst.exe ... using API) (11 KB)