On Wed, 10 Apr 2013, Clueless in Seattle wrote:
> Sometimes I run into a situation in which I need to disable multiple
> lines of batch code.
>
> If I mark all those lines as a block with TSE 2.5 for DOS, then I
> figure I could write a simple macro that would automatically insert
> "REM [space]" at the beginning of each line within that block.
Why not use a simple replace? After marking the block.
replace: ^ with: REM<sp> with options: lxn
^ is the regular expression char that finds the beginning of the line
l restricts it to the marked block
x treats the seach as a regular expression
n does all replacements without asking
Fred
--
Fred H. Olson Minneapolis,MN 55411 USA (near north Mpls)
Email: fholson at
cohousing.org 612-588-9532
My Link Pg:
http://fholson.cohousing.org My org:
Communications for Justice -- Free, superior listserv's w/o ads