On Sat, 08 Apr 2006 21:49:36 +0200, Zero3Cool wrote:
> SYoung skrev:

>> I would suggest putting the string at the very end of the script to 
>> guard against updating with an incomplete file.

> Good point, fixed.

But ensure that the string does not occur inside its own "find"
statement...

standard way to do this (on Windows, with its quite limited "find"):

set myvar=INDO
type update.new.cmd|find "FREENET W%myvar%WS UPDATE SCRIPT" > NUL
if errorlevel 1 goto error1
set myvar=

Michael


Reply via email to