From: Nobu
> At Wed, 8 Jun 2005 01:41:22 +0900,
> daz wrote in [ruby-core:05168]:
> > According to the XP docs this is still a feature ...
>
> It is copied on NT 5.0.

Oh, @#*&%  :-/
Perhaps support for NT5 could be dropped, then you'd have
more time for the C patch instead of the "batch patch" ;-)


> Does [this] work as expected even on Windows 95 series?
>      [... ifchange ...]


Yes it does, thanks.


E:\TEMP>echo OLD >tmpO
E:\TEMP>echo NEW >tmpN
E:\TEMP>IFCHANGE tmpO tmpN
tmpO updated.
E:\TEMP>IFCHANGE tmpO tmpN
tmpO unchanged.

E:\TEMP>ren tmpO tmpN
E:\TEMP>IFCHANGE tmpO tmpN
File not found     <---***
tmpO updated.
E:\TEMP>


Unwanted "File not found" refers to:
  if not exist %1 goto :update
  [...]
  :update
  del ~fc~1.tmp > nul

and goes to stderr (CTTY) rather than the redirected
stdout, so needs to match the del %1 below it (?).


Thanks again;  this will bring my dead OS back to life
for a few more days.

daz