home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / e / e065 / 1.ddi / HARD.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-08-28  |  2.5 KB  |  52 lines

  1. echo off
  2. echo *****************************************************************
  3. echo *                                                               *
  4. echo *           NeuralWorks Installation Procedure                  *
  5. echo *                                                               *
  6. if      %2test==test goto Not2a
  7. echo *         Installing files from %1 to %2\nw2v40.                *
  8. echo *                                                               *
  9. echo *  If the current source (%1) and destination (%2) drives are   *
  10. goto Next
  11. :Not2a
  12. if      %1test==test goto Not1a
  13. echo *         Installing files from A: to %1\nw2v40.                *
  14. echo *                                                               *
  15. echo *  If the current source (A:) and destination (%1) drives are   *
  16. goto Next
  17. :Not1a
  18. echo *         Installing files from A: to C:\nw2v40.                *
  19. echo *                                                               *
  20. echo *  If the current source (A:) and destination (C:) drives are   *
  21. :Next
  22. echo *  NOT acceptable to you, press ^C (CNTRL/C) to quit.           *
  23. echo *                                                               *
  24. echo *  If you would like some other source or destination drive,    *
  25. echo *  use:                                                         *
  26. echo *          s:\hard d:                                           *
  27. echo *                       --- or ---                              *
  28. echo *          s:\hard s: d:                                        *
  29. echo *                                                               *
  30. echo *            where s: is the source drive (":" is required)     *
  31. echo *              and d: is the destination drive.                 *
  32. echo *                                                               *
  33. echo *  Repeat this process for each disk you have been supplied     *
  34. echo *  with.  (This procedure uses XCOPY to copy files and create   *
  35. echo *  the required sub-directories.)                               *
  36. echo *                                                               *
  37. echo *****************************************************************
  38. pause Hit any key to continue or ^C to quit
  39. if     %2test==test goto Not2b
  40. if NOT EXIST %2\nw2v40\*.* mkdir %2\nw2v40
  41. xcopy %1\ %2\nw2v40\ /s /e
  42. goto Done
  43. :Not2b
  44. if     %1test==test goto Not1b
  45. if NOT EXIST %1\nw2v40\*.* mkdir %1\nw2v40
  46. xcopy A:\ %1\nw2v40\ /s /e
  47. goto Done
  48. :Not1b
  49. if NOT EXIST C:\nw2v40\*.* mkdir C:\nw2v40
  50. xcopy A:\ C:\nw2v40\ /s /e
  51. :Done
  52.