Sorry about the KIX dump, trying again:
code:
SELECT
CASE InGroup("GROUP")
$Drive="DRIVE LETTER"
$SHARE="\\SERVERNAME\SHARE"
? "Mapping drive $Drive to $Share"
Use "$Drive:" /Delete
Use "$Drive:" $Share
If @error = 0
? " Map Successful"
eLSE
? " Error mapping drive $Drive to $Share"
EndIF
$Drive="DRIVE LETTER"
$Share="\\SERVERNAME\SHARE"
? "Mapping drive $Drive to $Share"
Use "$Drive:" /Delete
Use "$Drive:" $Share
If @error = 0
? " Map Successful"
eLSE
? " Error mapping drive $Drive to $Share"
EndIF
ENDSELECT
End KIX script
CASE: per group
SELECT:Beginning of Group delineation
ENDSELECT: End of script file.
Once again, hope this helps
{edit} Bullock - Added code tags
[ 10. September 2002, 22:26: Message edited by: Howard Bullock ]