Odcl_MalDrive

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > Files & Folders >

Odcl_MalDrive

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_MapDrive

This function will map Network or Local drive Letter.

First Partmeters

Drive Letter to map

ex: "H:"

 

Second Parameters

UNC network Path

exx "\\\\Server1\\Project\\20\4"

 

Return Values

New Drive mapped must be created or Nil if Drive letter already exist or UNC path invalid.

 

Example

;Transform Path location into a List of string

(Odcl_MapDrive "H:" "\\\\Server1\\Project\\2014")

(Odcl_MapDrive "H:" \c:\\my folder\\Project")

 

AutoLisp Syntax:

(Odcl_MapDrive DriveNameLetter [as Strings UNCNetworkPath [as string]))