home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT202.ZIP / EXE2COM.BAT < prev    next >
DOS Batch File  |  1991-01-14  |  792b  |  24 lines

  1. echo off
  2. echo/
  3. echo EXE2COM Originally written by David M. Balmer, Jr. for Public Domain.
  4. if not exist "%1" goto :syntax
  5. exe2bin %1
  6. del %1.com
  7. ren %1.bin %1.com
  8. goto :ender
  9. :syntax
  10. echo/
  11. echo Syntax: EXE2COM filename
  12. echo/
  13. echo EXE2COM.BAT converts ".EXE" files directly to ".COM" files.  If the file
  14. echo exists, EXE2BIN is performed, the old .COM is removed, the .BIN file is
  15. echo renamed to .COM and the batch completes.
  16. echo/
  17. echo IMPORTANT! Do NOT specify an extension - .EXE is always assumed!
  18. echo/
  19. echo Written by David M. Balmer, Jr. and released into public domain by
  20. echo Solaris Systems.  You may freely distribute this batch file.  If you
  21. echo modify it, please leave the author's name, add your own and what you
  22. echo changed (as a courtesy).
  23. echo/
  24. :ender