Darren

Try this

@Echo off
%0\..\Kix32.exe script1.scr
EXIT

script1.scr
? "Setting DOS variables..."
SHELL "winset.exe USERNAME=@USERID"
SHELL "Winset.exe ADDRESS=@ADDRESS"
SHELL "Winset.exe COMPUTER=@WKSTA"
SHELL "Winset.exe DOMAIN=@DOMAIN"
SHELL "Winset.exe COMMENT=@COMMENT"
SHELL "Winset.exe FULLNAME=@FULLNAME"
SHELL "Winset.exe HOMEDIR=@HOMEDIR"
SHELL "Winset.exe HOMESHR=@HOMESHR"
SHELL "Winset.exe LSERVER=@LSERVER"
SHELL "Winset.exe PRIV=@PRIV"
? "Done."
Call a3201.scr
EXIT

a3201.scr
$drive= "\\a320pdc\"+@userid+chr(36)
use u: $drive


if INGROUP ("320Bellatlantic")
use f: "\\A320NTS07\SYS"
use n: "\\A320NTS07\Bellatlantic"
use r: "\\A320NTS07\CTS$"

endif

It will work if it is in Kixtart's script extension .scr or .kix (I hope!)

Rgds


------------------
Don Davidson
Network Engineer
http://www.insight-media.co.uk