Trying to map drive in a different domain. Below you'll find our syntax for mapping "active" on a diffent domain if in group "shareactive".
Any suggestions?
;Clear away any existing network drive mappings
use * /delete

;Set up new drive mappings
USE P: "\\fileserver\" + @USERID
USE s: \\fileserver\shared
USE x: \\fileserver\apps

;Map "Active" directory in Prep Domain
IF InGroup("ShareActive")
USE V: \\server3\Active pwd /User:Prep\activeuser
EndIF