I'm using Windows 10 Pro 64-bit.
My application (that was run as administrator) maps a folder from D drive to a network drive Z using the Windows Network API wnetaddcoection2().
When I opened File Explorer, I couldn't see the Z drive. However, when I opened other applications (e.g., Visual Studio) in Admin mode and browse to This PC folder, I'm able to see the Z drive under Network Location.
Also, I'm able to see the Z drive in File Explorer after I restart explorer.exe
Why and how to solve this issue of mapped drives not showing up straight away after being mapped?
برچسب:
نویسنده: استخدام کار