I don't get what that filehandle parameter is for. Kixtart command reference doesn't explain it. Would I do something like this then?

$logfile = "\\servername\@USERID.log"
Open(1, $logfile, 1)
$logfile = WRITELINE("LOGOFF ;"+@DATE+";"+@TIME+";"+@USERID+";"+@WKSTA+@CRLF)

And would I also need a .bat file that calls the kixtart script like this:

kix32.exe logoff.kix


Edited by hywaydave (2005-08-22 08:04 PM)