IfMember.exe works for the current user, so could be used in a logon script...
IFMEMBER PIR IF ERRORLEVEL 1 NET USE X: \\y\z _VT_VT_VT_VT_VT_VT_VT_VT_VT_VT_VT_VT_VT_VT_ Todd Pukanecz, MCSE, GCWN Virginia Tech, Ag Human and Natural Resources IT Blacksburg, Virginia "The smallest minority on earth is the individual. Those who deny individual rights cannot claim to be defenders of minorities." -- Ayn Rand > -----Original Message----- > From: Chris H [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 12, 2002 12:56 PM > To: NT 2000 Discussions > Subject: NT4 batch file > > > does anyone know if there is a variable or way to IF EXIST, > etc. a user's > group membership when mapping a drive in a login script? > > for example if username is a member of group PIR then net map > yatta yatta > yatta > > Much Thanks! > > Chris > > > ------ > You are subscribed as [EMAIL PROTECTED] > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe send a blank email to %%email.unsub%% > ------ You are subscribed as [email protected] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
