Skip to content
⌘ NSIS Forum Archive

New Line in INI File

3 posts

Davion#

New Line in INI File

Hi Folks,

in my Setup I create a INI File and wanted to add some empty Lines to make the File easier to read

I have tried it with the following code...


WriteINIStr "C:\My.ini" "GLOBAL" "ORACLEOLEDB" "1$\r$\n"

WriteINIStr "C:\My.ini" "SERVERNETWORK" "PATH" "\\JUPITER\FILES"
In the ini the "$\r$\n" where these cryptic rectangles, in a Word File they became 5(!) empty lines

I have searched the Foren but I haven't found anything really matching to this

I'll Attach the INI and hope anyone has an idea

thanks in advance

Dave

Attachments

Davion#edited
ok, really strange, I've put $\r$\n on a few lines now, compiled again and on the other lines it works
only on the first line I use it, it doesn't...


EDIT:

Ok.. I have compiled it once again - no idea why, but now it works...

sorry for bothering you folks
Instructor#
In the attached file you use:
[GLOBAL]
ORACLEOLEDB=1$\r$\n$\n$\n$\n$\r$\r$\n
[SERVERNETWORK]
PATH=\\JUPITER\FILES
instead of:
[GLOBAL]
ORACLEOLEDB=1$\r$\n$\r$\n$\r$\n$\r$\n
[SERVERNETWORK]
PATH=\\JUPITER\FILES