I am trying to map a drive based on group membership to a hidden share (thanks to my Windows 98 machines). I have posted the appropriate portion of my script. The first group's use command works fine, and so does the third, but the second one does not work on a Windows 98 machine or Windows XP machine. I have tried getting rid of the "." in the second share name, but that did not solve my problem. The only other difference I can see is the length of the share name. Is there a limit to the length of the share name?

Thanks,

Matt Mensching
code:
;****************************************
;* Mapping for Hidden Shares - S: drive *
;****************************************
:HiddenShares
IF INGROUP("HS-CASHSPSI") = 1
? "HS-CASHSPSI hidden share"
use s: /DEL
$c = '$$'
use s: '\\maprofile\SPSI FTE FY 2003'+$c
sleep 5
ENDIF

IF INGROUP("HS-EDUHolyGround") = 1
? "HS-EDUHolyGround hidden share"
use s: /DEL
$c = '$$'
use s: '\\maprofile\Holy Ground photo nov session'+$c
sleep 5
ENDIF

IF INGROUP("HS-GenActgCS") = 1
? "HS-GenActgCS hidden share"
use s: /DEL
$c = '$$'
use s: '\\maprofile\Cash Sheets'+$c
sleep 5
ENDIF