[Big Grin] [Big Grin] [Big Grin] [Big Grin] [Big Grin] [Big Grin]

Thanks guys it works!!!!

Here is the full script, you are wrote.

?''+@ERROR+' - '+@SERROR
if @inwin=2 ; winset stuff
SHELL "winset.exe USERNAME=@USERID"
SHELL "Winset.exe HOMEDIR=@HOMEDIR"
endif
BREAK ON ;(re)set Ctrl-C/Break handling
SMALL
?
"HI, @FULLNAME"
? ""@USERID
?
? "Your Logon Server:" @LSERVER
?
? "Your Password is " @PWAGE " Days Old."
?
? "Home Directory Location:"
? @Homeshr "\" @HomeDir
?
?
CLS
USE "*" /DELETE
Use F: \\adv**bal\apps
Use H: \\adv**ta\apps
SLEEP 5
USE U: \\adv**bal\@USERID$
SLEEP 10
If INGROUP("Domain Admins") Use O: \\adv**ta\o ENDIF
If INGROUP("Sun") Use S: \\ad**un\sun426
ENDIF
SLEEP 4
CLS
EXIT

Not quite sure if I have the correct location for

?''+@ERROR+' - '+@SERROR

Cheers