DECLAREINTEGER SetVolumeMountPoint IN kernel32;
STRING lpszVolumeMountPoint,;
STRING lpszVolumeName
Parameters:
lpszVolumeMountPoint
[in] Pointer to a string that indicates the volume mount point where the volume is to be mounted.
lpszVolumeName
[in] Pointer to a string that indicates the volume to be mounted.
Return value:
If the function succeeds, the return value is nonzero.
Usage:
* if successful, the E: becomes available through the directory on D:* which acquires the Mounted Volume status.
SetVolumeMountPoint("d:\mnt\cddrive\", "E")
My comment:
Handle this function with care.
This function works similar to the MOUNTVOL.EXE utility -- creates, deletes, or lists a volume mount point.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.