Are you anting a current information only? or are you wanting a log file for history.

for current information only, look into using the writeprofilestring() command, and log current information to a central .ini file.

Code:

$ = writeprofilestring("\\server\share\logfile\log.ini","kixscriptlogging",@userid,@ipaddress0 + "," + @wksta)



you will get a ini file like this...

Code:

[kixscriptlogging]
bsmith=127.0.0.1,pc01




If you are wanting a history log file..... you could use a shell command like this, with out having to worry about opening the file in kix.

Code:

shell '%comspec% /c echo ' + @userid + ',' + @ipaddress0 + ',' + @wksta + ' >> g:\logs\log.txt'



Bryce


Edited by Bryce (2004-07-07 04:47 PM)