Another good point, i missed that in the final version. Fixed. Thanks for putting version 1.0 up nextgens :D
New version (1.1) is out, changelog: - Removed OS check (nextgens you removed it from version 1.0, so i blame you if people whine about it now :P) - Fixed command promt staying open after an updater update - Added backup routine to the .jar update. If wget fails to download the latest version, the current will be restored. - Fixed updater validation accepting its own routine as the identification line. - Various tweaks/fixes/typo corrections/... /me tested this pretty throughtly, but bear with me if something slipped, it's 2 AM :) Same place as always: http://www.zerosplayground.dk/stuff/update.cmd ~Zero3Cool Michael Schierl skrev: > 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
