Kix Script – kixtart.kix

By | March 9, 2011
Selec All Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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