Search found 2 matches

by staro30
15 Sep 2011 03:14
Forum: DOS Batch Forum
Topic: Preserve blank lines in a dos for loop
Replies: 2
Views: 3763

Re: Preserve blank lines in a dos for loop

Hi,

I've decided to start again but use VBScript rather than a dos batch script as I don't think it is possible to ignore blank lines unless someone knows better?

Cheers
Staro
by staro30
13 Sep 2011 09:02
Forum: DOS Batch Forum
Topic: Preserve blank lines in a dos for loop
Replies: 2
Views: 3763

Preserve blank lines in a dos for loop

Hi, I use a dos script to alter the txt output of my LDIFDE script. The output contains many lines and blank lines. I change a line from 'changetype: add' to 'objectclass: top objectclass: person'. It's very good at making the line change but also removes blank lines. I need the blank lines preservi...