Retrieves the network share associated with a local drive letter.
The local drive letter to query.
The maximum number of characters to retrieve (default is 1024).
A promise that resolves to the network share associated with the local drive letter, or an empty string if not found.
import { DriveMapGet } from '@ahmic/autoit-js';const networkShare = DriveMapGet('Z:');console.log(networkShare); // Output: "\\server\share" Copy
import { DriveMapGet } from '@ahmic/autoit-js';const networkShare = DriveMapGet('Z:');console.log(networkShare); // Output: "\\server\share"
https://www.autoitscript.com/autoit3/docs/functions/DriveMapGet.htm
Retrieves the network share associated with a local drive letter.