I'd say just have the batch file call at vbs that would give you a lot more capabilities
For instance, to map a drive:
Dim net, shell
set net = Wscript.CreateObject("Wscript.Network")
set shell = Wscript.CreateObject("Wscript.Shell")
net.MapNetworkDrive "X:", "\\computer\share", true, net.username
and there are hundreds of sites out there with the functions to check membership in WSH.