Deletes a drive letter or mounted folder
#include <WinAPIFiles.au3>
_WinAPI_DeleteVolumeMountPoint ( $sMountedPath )
$sMountedPath | The drive letter or mounted folder to be deleted (for example, X:\ or Y:\MountX\). |
Success: | True. |
Failure: | False, call _WinAPI_GetLastError() to get extended error information |
Deleting a mounted folder does not cause the underlying directory to be deleted.
Search DeleteVolumeMountPoint in MSDN Library.