home *** CD-ROM | disk | FTP | other *** search
/ The Best of Select: Games Special 3 / cd.iso / dosgames / puzzler / pzlcopy.bat < prev    next >
DOS Batch File  |  1995-07-04  |  2KB  |  59 lines

  1. @echo off
  2. rem ***********************************
  3. rem *           PZLCopy.bat           *
  4. rem ***********************************
  5. rem *Puzzler installation file copying*
  6. rem *=================================*
  7. rem * Normal useage is to run         *
  8. rem *            INSTALL.EXE          *
  9. rem *                                 *
  10. rem * Install will prompt for paths,  *
  11. rem * create directories if needed    *
  12. rem * change to the source directory, *
  13. rem * and then call PZLCOPY.BAT with  *
  14. rem * the correct parameters.         *
  15. rem ***********************************
  16.  
  17.  
  18. rem ..........................................................
  19. rem . Do not run PZLCOPY directly, unless you have a specific,
  20. rem . unusual reason. Normally, you should run INSTALL.EXE
  21. rem .
  22. rem . useage: (if not using install.exe)
  23. rem . 
  24. rem .         current directory must be the source directory
  25. rem .
  26. rem .         PZLCOPY DESTINATION_PATH DATA_PATH .
  27. rem ..........................................................
  28.  
  29. @echo Copying files...
  30. rem Copy the executables
  31. copy Puzzler.ex? %1
  32. copy Install.ex? %1
  33.  
  34. rem copy this Bat file
  35. copy PzlCopy.ba? %1
  36.  
  37. rem copy OS/2 files
  38. copy OS2Setup.cm? %1
  39. copy PUZZLER.IC? %1
  40.  
  41. rem Copy the video and printer drivers and fonts
  42. copy *.bgi %1
  43. copy psbg?.ps %1
  44. copy *.chr %1
  45.  
  46. rem Copy the help files
  47. copy *.txt %1
  48. copy Register.fr? %1
  49.  
  50. rem Copy the sample files
  51. rem Give warning for all duplicate files
  52. for %%f in (*.PZL) do if exist %2\%%f echo %2\%%f  ALREADY EXISTS -- NOT COPIED
  53.  
  54. rem Notify of copy
  55. for %%f in (*.PZL) do if not exist %2\%%f echo %%f
  56.  
  57. rem Copy non duplicates regularly
  58. for %%f in (*.PZL) do if not exist %2\%%f copy %%f %2
  59.