(view source code of login_log_access.kix as plain text)
; Get the current date in YYYYMMDD format
$Today = "@YEAR" + Right( "0@MONTHNO", 2 ) + Right( "0@MDAYNO", 2 )
; Create the directory if it doesn't exist
If Exist( "\\Server\Logs\$Today\*.*" ) = 0
MD "\\Server\Logs\$Today"
EndIf
; Log current computer access
If RedirectOutput( "\\Server\Logs\$Today\@USERID.log" ) = 0
"@WKSTA,@DATE,@TIME@CRLF"
$RC = RedirectOutput( "" )
EndIf
page last modified: 2024-04-16; loaded in 0.0050 seconds