Here is an example screen for a logon.
Copy the code from below and paste into MS Word, then copy again from Word and paste into your favorite text editor and save it as some sample name. Then run it from a DOS Box like this:
code:
; Sample logon screen - Ron Lewis aka NTDOC
CLS
SMALL
Color b+/n
BOX (0,0,24,79,GRID) ; background grid
Color b/n
;BOX (2,3,11,77,┼ ;) ; shadow of the box
BOX (2,3,13,77,┼ ;) ; shadow of the box
Color g+/n
;BOX (1,2,10,76,FULL) ; Green box
BOX (1,2,12,76,FULL) ; Green box
Color b+/n
IF ((@TIME > "00:00:00") AND (@TIME < "12:00:00"))
AT(9,5) "Good Morning @fullname"
AT(10,5) "You are entering the @domain domain."
Color r+/n
AT(11,5)"Please wait - Network authentication is being verified . . ."
Color b+/n
ELSE
Color b+/n
IF ((@TIME > "12:00:00") AND (@TIME < "18:00:00"))
AT(9,5) "Good Afternoon @fullname"
AT(10,5) "You are entering the @domain domain."
Color r+/n
AT(11,5)"Please wait - Network authentication is being verified . . ."
Color b+/n
ELSE
AT(9,5) "Good Evening @fullname"
AT(10,5) "You are entering the @domain domain."
Color r+/n
AT(11,5)"Please wait - Network authentication is being verified . . ."
Color b+/n
ENDIF
ENDIFColor w+/n
AT (2,5) "Userid : " ; label for user and network identification text strings
AT (3,5) "Full Name : "
AT (4,5) "Workstation : "
AT (5,5) "NT Domain : "
AT (6,5) "Logon Server : "
Color y+/n
AT (2,20) @userid ; macro's for user and network identification text strings
AT (3,20) @fullname
AT (4,20) @wksta
AT (5,20) @domain
AT (6,20) @lserver ; Lists the authenticating server
Color w+/n
AT (15,10) "Please press any key to continue..."
get $
?