FreRange:

Ok i think i have something that you can use

first get the latest version of the logon script.

2nd add this line to the drivemapping action part of config.ini

action1 = all|G!?-usr|\\server\sc00" + $customvar1 + "|w:

then add this bit of code to the functions\custom_Variable.kix file

code:

if 1=1
DIM $pointer, group
do
$group = enumgroup($pointer)
$pointer = $pointer + 1
until instr($group,"-USR") <> 0 OR len($group) = 0
$customvar1 = substr($group,instr($group,"\")+1,instr($group,"-USR")-instr($group,"\")-1)
endif

let me know if it works!

Bryce

------------------
kix.isorg.net