@if "%1"=="skip" goto loop
@echo *
@echo *  To install PowerComm 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 CommLib root directory.
@echo *
@echo *  You can do this by repeating this command for each diskette:
@echo *
@echo *   FOR %%A in (A:*.ARJ) DO UNARJ x %%A
@echo *
@echo *  So your sequence of commands might look like this:
@echo *
@echo *  MKDIR C:\GCL520
@echo *  CD C:\GCL520
@echo *  COPY A:UNARJ.EXE
@echo *  FOR %%A in (A:*ARJ) DO UNARJ x %%A
@echo *  --repeat for each disk--
@echo *
@pause
@echo *
@echo * HARDCORE.BAT is willing to do all this for you.  To do so,
@echo * HARDCORE.BAT needs to create all of the target subdirectories.
@echo * If you are presently in the root directory where you
@echo * want to create CommLib (e.g. C:\GCL520), 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 ASM_VGFD
MD B31
MD B40
MD B45
MD C_VGFD
MD DEMO_WPC
MD EX_WPC
MD DOCS
MD H
MD M70
MD MISC
MD S70
MD VB30
MD V1X
MD VXD
@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
