home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c500 / 6.ddi / GENERIC.SDK / P.BAT next >
Encoding:
DOS Batch File  |  1992-05-28  |  714 b   |  46 lines

  1. @echo off
  2. mkdir win386
  3. copy *.* win386
  4. if exist generic.c goto x1
  5. copy ..\null.fil win386\generic.c
  6. :x1
  7. if not exist p1.p goto l1
  8. cd win386
  9. bpatch p1.p -b -p
  10. erase p1.p
  11. cd ..
  12. erase p1.p
  13. :l1
  14. if exist generic.h goto x2
  15. copy ..\null.fil win386\generic.h
  16. :x2
  17. if not exist p2.p goto l2
  18. cd win386
  19. bpatch p2.p -b -p
  20. erase p2.p
  21. cd ..
  22. erase p2.p
  23. :l2
  24. if exist generic.rc goto x3
  25. copy ..\null.fil win386\generic.rc
  26. :x3
  27. if not exist p3.p goto l3
  28. cd win386
  29. bpatch p3.p -b -p
  30. erase p3.p
  31. cd ..
  32. erase p3.p
  33. :l3
  34. if exist makefile goto x4
  35. copy ..\null.fil win386\makefile
  36. :x4
  37. if not exist p4.p goto l4
  38. cd win386
  39. bpatch p4.p -b -p
  40. erase p4.p
  41. cd ..
  42. erase p4.p
  43. :l4
  44. cd win386
  45. erase apply.bat
  46.