home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l350 / 2.ddi / BIN / BINDONE.BAT next >
Encoding:
DOS Batch File  |  1993-02-09  |  613 b   |  23 lines

  1. @echo off
  2. rem
  3. rem rebind an NT executable so it can be run under DOS
  4. rem usage:
  5. rem      bindone "tool dir"  "tool name" "rebind dir"
  6. rem
  7. if not exist %1\%2.exe goto notfnd
  8. if not exist %3\rebind.exe goto norebind
  9. %3\rebind %1\%2.exe >NUL
  10. if errorlevel 1 goto bad
  11. if not "x%4" == "x" goto exit
  12. echo The Windows NT development tool "%2" can now be run under DOS.
  13. goto exit
  14. :notfnd
  15. echo Error: Cannot find the file "%1\%2.exe".
  16. goto exit
  17. :norebind
  18. echo Error: Cannot find the file "%3\rebind.exe".
  19. goto exit
  20. :bad
  21. echo Error: Unable to bind the QuickStart loader to the file "%1\%2.exe".
  22. :exit
  23.