(From ODCL_LM file)

<< Click to Display Table of Contents >>

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


(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page


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.



;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]))