<driveletter>?=//<directory path>
X?=//server/shareIn this case the system does not map a drive to X. Instead, it maps to the next available drive, and stores the drive letter it selected in a variable named _MAP_X; if the selected drive is F, the _MAP_Y variable's value is "F:". You can use the variable to access the mapping.
You can use any letter you like, and you can even use multiple mappings, as follows:
X?=//server/share; Y?=//server/public
If this example is run on a machine whose next available drive letter is F, it creates the following mappings:
F: mapped to //server/share
G: mapped to //server/public
The example also creates the following variables:
_MAP_X with a value "F:"
_MAP_Y with a value "G:"
Y\?=//server/share