Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Remove All the Blank Lines from a Text File?

(image) Hey, Scripting Guy! How can I remove all the blank lines from a text file?-- RE(image) (image) (image) Hey, RE. You know, back in the year 2002, when the Scripting Guys were still just lowercase scripting guys, we began working on the Microsoft Windows 2000 Scripting Guide. In putting together the book we faced enormous resistance ...