home *** CD-ROM | disk | FTP | other *** search
/ Freesoft 1997 March / Freesoft_1997-03_cd.bin / recenz / 926 / HARDCORE.BAT < prev    next >
DOS Batch File  |  1996-04-18  |  2KB  |  66 lines

  1. @if "%1"=="skip" goto loop
  2. @echo *
  3. @echo *  To install ArchiveLib without using our install program, all
  4. @echo *  you need to do is repeatedly execute:
  5. @echo *
  6. @echo *    unarj x archive-name
  7. @echo *
  8. @echo *  for each ARJ file on the distribution disks.  You should do this
  9. @echo *  out of your ArchiveLib root directory.
  10. @echo *
  11. @echo *  You can do this by repeating this command for each diskette:
  12. @echo *
  13. @echo *   FOR %%A in (A:*.ARJ) DO UNARJ %%A
  14. @echo *
  15. @echo *  So your sequence of commands might look like this:
  16. @echo *
  17. @echo *  MKDIR C:\AL200
  18. @echo *  CD C:\AL200
  19. @echo *  COPY A:UNARJ.EXE
  20. @echo *  FOR %%A in (A:*ARJ) DO UNARJ %%A
  21. @echo *  --repeat for each disk--
  22. @echo *
  23. @pause
  24. @echo *
  25. @echo * To make this work, HARDCORE.BAT needs to create all of the target
  26. @echo * subdirectories.  If you are presently in the root directory where
  27. @echo * you want to create commlib (e.g. C:\AL200), just continue, and
  28. @echo * this file will create the approppriate subdirectories.  If
  29. @echo * you aren't ready for this, hit CTRL-BREAK.
  30. @echo *
  31. @pause
  32. @echo *
  33. @echo * Creating subdirectories
  34. MD B45
  35. MD B50
  36. MD DELPHI.10
  37. MD DELPHI.20
  38. MD DOCS
  39. MD EXAMPLES
  40. MD EXAMPLES.MFC
  41. MD H
  42. MD HELP
  43. MD MISC
  44. MD V1X
  45. MD V4X
  46. MD VB30
  47. MD VB40.16
  48. MD VB40.32
  49. @echo *
  50. @echo * I will now start extracting all of the archives.  If you want
  51. @echo * to do this by hand, break now.  Otherwise, just start feeding
  52. @echo * disks, one at a time, until they are all done.  Then break out
  53. @echo * of the loop.
  54. @pause
  55. @if exist a:unarj.exe copy a:unarj.exe
  56. @if not exist hardcore.bat xcopy a:hardcore.bat .
  57. .\hardcore skip
  58. :loop
  59. for %%a in (a:*.arj) do unarj x %%a
  60. @echo *
  61. @echo * Insert the next disk, or break if you have completed
  62. @echo * processing all of the disks.
  63. @echo *
  64. @pause
  65. @goto loop
  66.