Any dos experts out there?

We have some 2000 GIS workspaces (editable as text) which we need to change as we have had a new print spooler (and printers have traditionally been hard-coded into workspaces).

So at the moment the workspace contains a printer reference along the lines of:

Set Window FrontWindow() Printer
Name "\\THOMAS\Computers3_HP4MV" Orientation Portrait Copies 1
Papersize 9

in each workspace, where the "Name" line will be different depending on which section of the organisation uses the workspace.

I am looking for the correct command that will loop through our GIS server deleting text between the
"Set Window FrontWindow() Printer" line
and the "Papersize 9" line.

Any ideas?