Kix Script – kixtart.kix

By | March 9, 2011
include "functions.kix"

$startTime = @Ticks

$welcome = "Weclome to @Domain, @Fullname (@WkSta)"
SetTitle($welcome)
cls
COLOR W+/n
? $welcome

/**************************************************
**
** Mapping network drivers
**
**************************************************/
COLOR Y+/n
?
? "Mapping drives"
? "--------------"
map_drive("S:", "\\econel\shared")
map_drive("T:", "\\econel\talisman")

/**************************************************
**
** Sync workstations times with cadserv for
** Teamwork software to work.
**
**************************************************/
COLOR B+/n
?
? "Synchronising time with logon server."
SETTIME @LSERVER

/**************************************************
**
** Finished. Calculate time taken.
**
**************************************************/
:FINISH
$endTime = @Ticks
$totalTime1 = ($endTime - $startTime) / 1000
$totalTime2 = ($endTime - $startTime) mod 1000
COLOR G+/n
? "Login complete : $totalTime1.$totalTime2 seconds"
Sleep 10