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

  1. @echo off
  2. mkdir win386
  3. copy *.* win386
  4. if exist clidata.c goto x1
  5. copy ..\null.fil win386\clidata.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 clidde.c goto x2
  15. copy ..\null.fil win386\clidde.c
  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 client.c goto x3
  25. copy ..\null.fil win386\client.c
  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 client.h goto x4
  35. copy ..\null.fil win386\client.h
  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. if exist client.rc goto x5
  45. copy ..\null.fil win386\client.rc
  46. :x5
  47. if not exist p5.p goto l5
  48. cd win386
  49. bpatch p5.p -b -p
  50. erase p5.p
  51. cd ..
  52. erase p5.p
  53. :l5
  54. if exist clires.h goto x6
  55. copy ..\null.fil win386\clires.h
  56. :x6
  57. if not exist p6.p goto l6
  58. cd win386
  59. bpatch p6.p -b -p
  60. erase p6.p
  61. cd ..
  62. erase p6.p
  63. :l6
  64. if exist makefile goto x7
  65. copy ..\null.fil win386\makefile
  66. :x7
  67. if not exist p7.p goto l7
  68. cd win386
  69. bpatch p7.p -b -p
  70. erase p7.p
  71. cd ..
  72. erase p7.p
  73. :l7
  74. if exist servdata.c goto x8
  75. copy ..\null.fil win386\servdata.c
  76. :x8
  77. if not exist p8.p goto l8
  78. cd win386
  79. bpatch p8.p -b -p
  80. erase p8.p
  81. cd ..
  82. erase p8.p
  83. :l8
  84. if exist servdde.c goto x9
  85. copy ..\null.fil win386\servdde.c
  86. :x9
  87. if not exist p9.p goto l9
  88. cd win386
  89. bpatch p9.p -b -p
  90. erase p9.p
  91. cd ..
  92. erase p9.p
  93. :l9
  94. if exist server.c goto x10
  95. copy ..\null.fil win386\server.c
  96. :x10
  97. if not exist p10.p goto l10
  98. cd win386
  99. bpatch p10.p -b -p
  100. erase p10.p
  101. cd ..
  102. erase p10.p
  103. :l10
  104. if exist server.h goto x11
  105. copy ..\null.fil win386\server.h
  106. :x11
  107. if not exist p11.p goto l11
  108. cd win386
  109. bpatch p11.p -b -p
  110. erase p11.p
  111. cd ..
  112. erase p11.p
  113. :l11
  114. if exist server.rc goto x12
  115. copy ..\null.fil win386\server.rc
  116. :x12
  117. if not exist p12.p goto l12
  118. cd win386
  119. bpatch p12.p -b -p
  120. erase p12.p
  121. cd ..
  122. erase p12.p
  123. :l12
  124. if exist servres.h goto x13
  125. copy ..\null.fil win386\servres.h
  126. :x13
  127. if not exist p13.p goto l13
  128. cd win386
  129. bpatch p13.p -b -p
  130. erase p13.p
  131. cd ..
  132. erase p13.p
  133. :l13
  134. cd win386
  135. erase apply.bat
  136.