home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / MCOMM530.ZIP / MSCLIBS.BAT < prev    next >
DOS Batch File  |  1990-06-22  |  1KB  |  31 lines

  1. echo off
  2. cls
  3. echo This batch file converts all the COMM_? composite libraries to Microsoft
  4. echo C format.  The COMM_? libraries and the MSC_X? libraries must be in the
  5. echo current directory or passed as an argument to the batch file.  LIB.EXE
  6. echo must be in the path.
  7. echo   Ex: msclibs c:\lib\
  8. echo In the above example both the COMM_? and MSC_X? libs will be expected to
  9. echo be in the c:\lib directory.  The trailing backslash is required.
  10. echo  
  11. echo Press control-C to abort the batch file or,
  12. pause
  13. echo on
  14. if not exist %1msc_xs.lib goto medium
  15. if exist %1comm_s.lib lib %1comm_s  -pushpop -fpushpop -int14cts -watchdog -allocrb +%1msc_xs.lib;
  16. if exist %1comm_s.bak del %1comm_s.bak
  17. :medium
  18. if not exist %1msc_xm.lib goto compact
  19. if exist %1comm_m.lib lib %1comm_m  -pushpop -fpushpop -int14cts -watchdog -allocrb +%1msc_xm.lib;
  20. if exist %1comm_m.bak del %1comm_m.bak
  21. :compact
  22. if not exist %1msc_xc.lib goto large
  23. if exist %1comm_c.lib lib %1comm_c  -pushpop -fpushpop -int14cts -watchdog -allocrb +%1msc_xc.lib;
  24. if exist %1comm_c.bak del %1comm_c.bak
  25. :large
  26. if not exist %1msc_xl.lib goto huge
  27. if exist %1comm_l.lib lib %1comm_l  -pushpop -fpushpop -int14cts -watchdog -allocrb +%1msc_xl.lib;
  28. if exist %1comm_l.bak del %1comm_l.bak
  29. :huge
  30. if exist %1comm_h.lib del comm_h.lib
  31.