Please read the KiXtart manual for the correct parameters to use OPEN, READPROFILESTRING, and WRITYEPROFILESTRING. OPEN is not required to read and write to an .INi file. Additionally, you need to use @USERID instead of %USERNAME%.
OPEN, CLOSe, rEADLINE, WRITELINE are to be used for text files, not .INI files which have separate READ/WRITE commands due to the special .INI format.

If you are using wRITEPROFILESTRING, missing sections and added automatically.
code:
$FileName = 'C:\Data\UserBackup.ini'
$LineToWrite = ''+@Date + ' ' + @Time
$rc = WriteProfileString ($FileName, @USERID, 'Logging', $LineToWrite)



[ 08. September 2002, 17:32: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.