Windows Map File System

Windows Explorer can associate a drive letter with a file system or directory in a file system. How to do this from a C ++ program for Windows 7 and Vista? My search for documentation on visual studio and on the Internet did not call API calls for this. Somebody knows?

+4
source share
1 answer

The SetVolumeMountPoint function seems to do what you need.

You will find quite a few related features (Disk Management, Volume Management, etc.) on MSDN (your best friend as a Windows Developer, sometimes called the "Microsoft Developer Network" or the "Windows Dev Center").

+2
source

Source: https://habr.com/ru/post/1435952/


All Articles