Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
385 B

  1. @wc resstr.h
  2. @copy %0\..\resstr0.h resstr.tmp > nul
  3. @qgrep #define %1 %2 %3 %4 %5 %6 %7 %8 %9 | qgrep -e "\<IDS_" | sed -e "/\/\//d" -e "s;.*\(IDS_[A-Z0-9_]*\).*; RESSTR(\1),;" >> resstr.tmp
  4. @diff resstr.tmp resstr.h > nul & if not errorlevel 1 goto done
  5. sd edit resstr.h
  6. @copy resstr.tmp resstr.h
  7. @wc resstr.h
  8. :done
  9. @del resstr.tmp