« Installing ESVA 1.6 on ESX server | Happy New Year »

Batch - add a carriage return with texttools32

Here's a simple way to replace one line of ext with two using Texttools32 from firefly software.

Example - Before

blah=true
Name=robot-0001
blahblah=true

Example - After

blah=true
Name=robot-0001
Mode=1
blahblah=true
Command

type inifile.ini | t repl 'Name=robot-001' 'Name=robot-0001#0d#0aMode=1'

So by adding #0d#0a or a line feed, we can add an extra line of text.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)