I'm improving our way of adding printers for our users, reading from a file with 'ReadProfileString'.

kix command is like this:

 Code:
	
	$PrinterList = Split(ReadProfileString('%logonserver%\NETLOGON\PRINTER\Printer.ini', $ID, 'Printer'), ';')
	$DefPrinter = ReadProfileString('%logonserver%\NETLOGON\PRINTER\Printers.ini', $ID, 'Standard')
	For Each $Printer in $PrinterList
          xxx
          xxx
        Next


When handling long printernames, the use of a ';' as a delimiter produces long messy lines in the ini-file.
Instead It would be nice to use like a '@CRLF' instead as a delimiter.

Is there an easy way to accomplish this?


Regards Jon
_________________________
I was placed on earth to do a job. Right now I have so much to do, I will never die..