MountVolumeForPath

Core function

New in package 162.3

Syntax

MountVolumeForPath( path )

Parameters

Parameter Description
path network folder path to mount/connect to, in UNC format.

Return Value

true if finished successfully, false if canceled, throws exception if error.

Description

Tries to mount a network volume the path is located on. Does nothing and returns true if the volume is already mounted.

Throws an exception if:

  • Path is relative or incomplete.
  • Mount was canceled by user/has failed.

Examples

See Also

MountAfpVolume, MountSmbVolume

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.