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.

12 lines
323 B

  1. @echo off
  2. REM
  3. REM This batch script will mark an image file so that it thinks it is running
  4. REM on Windows NT 3.51
  5. REM
  6. if "%1" == "" goto usage
  7. echo Marking %1 executable so it thinks it is running on Windows NT 3.51
  8. imagecfg -w 0x04213303 %1 >nul
  9. goto done
  10. :usage
  11. echo Usage: SETNT351 executableFileName
  12. :done