I'm using kix95.363, i have the same problem on both Win95 & 98 (inc. SE). I tried adding the COOKIE1 line at the end of the script and it actually stops the script from exiting at all, so I'm left with the DOS type box up, which i think if a step back?Would it be an idea for me to post my script up here?
break off
SETCONSOLE("MAXIMIZE")
SETCONSOLE("FOREGROUND")
SETCONSOLE("ALWAYSONTOP")
COLOR m+/n
;SOME USER INFORMATION
;run "\\aglnt01\auditing\Agent32.exe -P \\aglnt01\auditing\auditor.prf"
;USE * /DELETE
CLS
? "PLEASE WAIT, DO NOT TOUCH THE KEYBOARD OR MOUSE!"
?
? "User Name: "
use u: \\Droicon1\USERS\@userid
?
? "Account Comment: " @comment
?
? "Here's the date and time for your convienance:"
? @DAY", " @DATE", " @TIME
?
? "Privilages are:"
?
? "Logged on by: " @LSERVER
?
BIG
@USERID"-" @PRIV
SMALL
?
COLOR g+/n
CLS
;USER SPECIFIC COMMANDS
IF @USERID = "TEMPUSER"
use p: \\droicon1\production
? "User identified as @USERID, mapping to your specific user requirements"
?
ENDIF
IF @USERID = "RW"
?
sleep 1
BIG
"how's ya?"
SMALL
sleep 2
CLS
ENDIF
IF @USERID = "pjk"
? "User identified as @USERID"
run "C:\Progra~1\Intern~1\IEXPLORE.EXE http://10.10.20.9/exchange"
SMALL
ENDIF
IF @USERID = "DJB"
? "User identified as @USERID"
?
ENDIF
IF @USERID = "JC"
?
sleep 1
BIG
"whats that smell?"
SMALL
sleep 2
CLS
ENDIF
IF @USERID = "GL"
use E: \\aglnt01\bacs2
? "User identified as @USERID, mapping to your specific user requirements"
?
ENDIF
;GROUP SPECIFIC COMMANDS
IF INGROUP ("DOMAIN ADMINS")
? "hey your in the DOMAIN ADMIN group!"
?
ENDIF
IF INGROUP ("DOMAIN USERS")
? "Member of DOMAIN USERS group."
?
ENDIF
;DROICON
IF INGROUP ("DROICON")
use h: \\droicon1\droicon
? "Member of DROICON group, mapping h: to DROICON shared drive" ;just confirms the group membership
?
ENDIF
IF INGROUP ("DCCPURCASING")
? "Droicon Plc Purcasing department."
?
use p: \\droicon1\csb
ENDIF
;DIAL-A-UNIT
IF INGROUP ("Dial-A-Unit")
use k: \\droicon1\DialUnit
? "Member of DIAL-A-UNIT group, mapping k: to DIAL-A-UNIT shared drive" ;just confirms the group membership
?
ENDIF
IF INGROUP ("PRODUCTION")
use p: \\droicon1\Production
? "your in the PRODUCTION group, you must be hard, i'm scared" ;just confirms the group membership
?
ENDIF
;GAMMA
IF INGROUP ("GAMMA")
use i: \\droicon1\GAMMA
? "Member of GAMMA group, mapping h: to GAMMA shared drive" ;just confirms the group membership
?
ENDIF
;ADROIT
IF INGROUP ("ADROIT")
use j: \\droicon1\ADROIT
? "Member of ADROIT group, mapping h: to ADROIT shared drive" ;just confirms the group membership
?
ENDIF
IF INGROUP ("ACCOUNTS")
use F: \\aglnt01\bacs1
use M: \\aglnt01\Accounts
? "Member of ACCOUNTS group, mapping M: to Accounts shared drive" ;just confirms the group membership
? "Member of ACCOUNTS group, mapping F: to BACS1 shared drive" ;just confirms the group membership
?
ENDIF
?
?
? "Finished script, thanks for your time."
COOKIE1