bacth file : logon.bat
@echo off
%0\..\kix32.exe %0\..\hi.kix
kixtart : hi.kix
CLS
:Welcome
If @TIME > "00:00:01" AND @TIME < "12:00"
$MESSAGE="Bonne avant-midi"
Else
If @TIME > "12:00" AND @TIME < "18:00"
$MESSAGE="Bonne après-midi"
Else
If @TIME > "18:00" AND @TIME < "24:00"
$MESSAGE="Bonne soirée"
EndIf
EndIf
EndIf
Color w+/b
Color b+/b
Box (3,8,21,72,DOUBLE)
Color y+/b
At (2,0) Small
At (5,22) "$MESSAGE, @fullname."
At (10,26) " CEFRIO "@MDAYNO", Février "@YEAR"."
At (16,25) "Il est présentement "@time"."
; *****************Section 2***********************
SETTIME "\\cefrio1"
; *****************Section 3***********************
;
; Map Drives to Server "CEFRIO1"
;
use R: /delete
USE H: "\\cefrio1\@userid$"
USE R: "\\cefrio1\commun"
USE K: "\\cefrio1\application"
USE L: "\\cefrio1\application"
USE P: "\\cefrio1\program"
;
at (19,32) ".."
;
sleep 6 ;
EXIT