[Webchange-list] Search and Replace

Tim Hill tim at timil.com
Tue Mar 15 14:38:47 GMT 2011


In article <mpro.li24op000bga0063o.vince at softrock.co.uk>, Vince M Hudd
<vince at softrock.co.uk> wrote:
> Tim Hill <tim at timil.com> wrote:

Many thanks for the swift reply.

[Snip]

> WebChange.Script
> FileReplace.CaseSensitive = "No"
> FileReplace.ChangeFrom = "RAM::RamDisc0.$.search"
> FileReplace.ChangeTo = "RAM::RamDisc0.$.replace"
> Content.FileReplace

[Snip]

I tried that and it now says "Error 1004: unrecognised command, process
or variable ()". :-(

You must have forgotten something else you changed.  ;-)

By inserting 'Stop' and ';' I have discovered the lines to fail are
FileReplace.ChangeFrom = "RAM::RamDisc0.$.search" and
FileReplace.ChangeTo = "RAM::RamDisc0.$.replace"

-- 
Tim Hill
..............................................................
                                                www.timil.com




More information about the Webchange-list mailing list