What version of KiXtart are you running?
What is BREAK? I believe you want BREAK ON or BREAK OFF. That is, BREAK gives you the ability to Break in on a script.
Here is the script changed to be more of what you are looking for:
Code:
CLS
BREAK ON
COLOR r+/n at(2,2) "Initializing Logon Script - Please Stand By"
;SETTIME "*"
COLOR y+/n at(2,2) BOX (2,2,17,67,Double)
COLOR b+/n at(3,3) BOX (3,19,5,49,Full)
COLOR w+/n at(4,21) "Welcome to Joe Gibbs Racing"
COLOR w+/n at(7,6) "Welcome back: "
COLOR y+/n at(7,21) @fullname
COLOR w+/n at(8,6) "Today is: "
COLOR c+/n at(8,17) @Day+" - "+@Month+" "+@Day+", "+@Year
COLOR w+/n at(9,6) "The current time is: "
COLOR c+/n at(9,29) @Time
COLOR y+/n at(12,6) "Please standby as we map your network drives:"
USE H: "\\App-Server\Homefolders$$\"+@userid
If InGroup("IT Admins")
USE Z: "\\\IT Folders"
EndIf
If InGroup("Marketing Group")
USE Y: "\\\Marketing"
EndIf
COLOR g+/n at(12,6) "Drive Mapping Complete!"
COLOR w+/n at(13,6) "Have a nice day :-P"
SLEEP 2
COLOR r+/n at(15,6) "Press Any Key to Exit"
get $x
You may also want to check into SETTIME with 2000/XP machines as they will automatically sync time throughout the day.
Also, you may need to double-up on the $ for Homefolders$ as older versions of KiX will want to use this.
Thanks,
Kent