@if "%1"=="skip" goto loop
@echo *
@echo *  To install ArchiveLib without using our install program, all
@echo *  you need to do is repeatedly execute:
@echo *
@echo *    unarj x archive-name
@echo *
@echo *  for each ARJ file on the distribution disks.  You should do this
@echo *  out of your ArchiveLib root directory.
@echo *
@echo *  You can do this by repeating this command for each diskette:
@echo *
@echo *   FOR %%A in (A:*.ARJ) DO UNARJ %%A
@echo *
@echo *  So your sequence of commands might look like this:
@echo *
@echo *  MKDIR C:\AL200
@echo *  CD C:\AL200
@echo *  COPY A:UNARJ.EXE
@echo *  FOR %%A in (A:*ARJ) DO UNARJ %%A
@echo *  --repeat for each disk--
@echo *
@pause
@echo *
@echo * To make this work, HARDCORE.BAT needs to create all of the target
@echo * subdirectories.  If you are presently in the root directory where
@echo * you want to create commlib (e.g. C:\AL200), just continue, and
@echo * this file will create the approppriate subdirectories.  If
@echo * you aren't ready for this, hit CTRL-BREAK.
@echo *
@pause
@echo *
@echo * Creating subdirectories
MD B45
MD B50
MD DELPHI.10
MD DELPHI.20
MD DOCS
MD EXAMPLES
MD EXAMPLES.MFC
MD H
MD HELP
MD MISC
MD V1X
MD V4X
MD VB30
MD VB40.16
MD VB40.32
@echo *
@echo * I will now start extracting all of the archives.  If you want
@echo * to do this by hand, break now.  Otherwise, just start feeding
@echo * disks, one at a time, until they are all done.  Then break out
@echo * of the loop.
@pause
@if exist a:unarj.exe copy a:unarj.exe
@if not exist hardcore.bat xcopy a:hardcore.bat .
.\hardcore skip
:loop
for %%a in (a:*.arj) do unarj x %%a
@echo *
@echo * Insert the next disk, or break if you have completed
@echo * processing all of the disks.
@echo *
@pause
@goto loop
