JCL Help:NtfsMountVolume
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: NtfsMountVolume Function
Search in JCL Help
Search in all projects
Summary
Mounts a volume to a specified directory.
Pascal
function NtfsMountVolume(const Volume: WideChar; const MountPoint: WideString): Boolean;
Parameters
Parameters | Description |
const Volume: WideChar | The volume to mount. |
const MountPoint: WideString | The directory to which the volume should be mounted. Note that if the directory doesn't exist yet it is automatically created. |
Return Value
If the function succeeds it returns True otherwise it returns False.
Description
NtfsMountVolume mounts the specified volume to the the specified mount point. You can, for example, use NtfsMountVolume('c', 'd:mntc') to mount the C drive to the d:mntc folder. If the call succeeds you can subsequently access the C drive through the d:mntc folder.
See Also
NtfsIsFolderMountPoint NtfsMountDeviceAsDrive
About
Unit
Donator
Marcel van Brakel
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page