I have covered that already, but did not post until now as I was trying to get out of the office for a HALO Party last night.

Code:

DIM $rc,$data,$section,$grp,$value,$drive,$resource
$data=enumINI(@LDRIVE+'\NewScript\DRVMAP.ini')
IF @error
? "something went wrong: @serror"
SLEEP 2
ELSE
FOR EACH $section IN $data
IF INSTR($section[0],',')
FOR EACH $grp IN SPLIT($section[0],',')
IF INGROUP(''+$grp+'')
FOR $value=1 TO ubound($section)
$drive=$section[$value][0]
$resource=$section[$value][1]
$rc=execute('$$resource='+$resource)
USE $drive+':' $resource
NEXT
ENDIF
NEXT
ELSE
$grp=$section[0]
IF INGROUP(''+$grp+'')
FOR $value=1 TO ubound($section)
$drive=$section[$value][0]
$resource=$section[$value][1]
$rc=execute('$$resource='+$resource)
USE $drive+':' $resource
NEXT
ENDIF
ENDIF
NEXT
ENDIF



Is there a better or different way to do the EXECUTE(), so that I can get the hidden mappings?

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's