Skip to content
⌘ NSIS Forum Archive

Quick (simple?) question

4 posts

moop#

Quick (simple?) question

How can I delete blank lines from a text file? I used

!macro ReplaceInFile "$\r$\n$\r$\n" "$\r$\n"

...but for some reason it's not working properly. Other combinations of linefeed/carriage-return don't work either. 😳
razor_x#
if you are using that macro to "replaceinfile" why do you need those? it replaces "a" with "b"