DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: I T

⟦3f1f75792⟧ TextFile

    Length: 3606 (0xe16)
    Types: TextFile
    Names: »INSTALLH.BAT«

Derivation

└─⟦4ce4a19fd⟧ Bits:30004145/disk1.imd SW95405I.2 Concurrent DOS 386 Release 2.0
    └─⟦this⟧ »INSTALLH.BAT« 
└─⟦6e1ab6884⟧ Bits:30004544/disk1.imd SW95405I.2 Concurrent DOS 386 Release 2.1
    └─⟦this⟧ »INSTALLH.BAT« 

TextFile

echo off\r
cls\r
If "%2"=="" goto ERROR\r
If "%1"=="xmcopy" goto DISKCOPY\r
If "%1"=="XMCOPY" goto DISKCOPY\r
If "%1"=="xm" goto PREPARE\r
If "%1"=="XM" goto PREPARE\r
goto ERROR\r
:PREPARE\r
md %2:\cdos  >nul\r
a:attrib -r %2:\cdos\*.* >nul\r
md %2:\dredix  >nul\r
a:attrib -r %2:\dredix\*.* >nul\r
cd %2:\cdos\r
a:attrib -r %2:cdos$$$.bat  >nul\r
a:copy a:installh.bat %2:cdos$$$.bat >nul\r
:LOOKDSK\r
if exist A:FM.CMD goto 2DISKS\r
%2:\r
cdos$$$ xmcopy %2 4\r
:2DISKS\r
if exist A:EDITMENU.CMD goto 1DISK\r
%2:\r
cdos$$$ xmcopy %2 2 \r
:1DISK\r
%2:\r
cdos$$$ xmcopy %2 1 \r
.\r
:ERROR\r
Echo  \r
Echo Reboot your system to execute the installation procedure for Concurrent.\r
Echo \r
Exit\r
.\r
:DISKCOPY\r
Echo  \r
if "%os%"=="CDOS" Echo This procedure will install Concurrent DOS XM R%ver% on your hard disk drive %2:,\r
if "%os%"=="CDOS386" Echo This procedure will install Concurrent DOS 386 R%ver% on your hard disk drive %2:,\r
Echo in the subdirectory %2:\CDOS from a %3 disk set.\r
Echo   \r
If exist A:ATTRIB.EXE goto PAUSE1\r
:PROMPT1\r
Echo  \r
Echo Insert the Concurrent Startup disk (disk #1 of %3) in drive A.\r
:PAUSE1\r
Echo  \r
Pause\r
If not exist A:ATTRIB.EXE goto PROMPT1\r
Echo    \r
Echo Copying files...\r
a:attrib -r *.* >nul\r
copy a:*.*/s %2: >nul\r
:PROMPT2\r
if %3==1 goto ENDCOPY\r
if %3==2 goto PROMPT3\r
Echo  \r
Echo Place the next Concurrent Disk (disk #2 of 4) in drive A.\r
Echo  \r
Pause\r
If not exist A:FM.CMD goto PROMPT2\r
Echo  \r
Echo Copying files...\r
copy a:*.*/s %2: >nul\r
:PROMPT3\r
Echo  \r
if %3==2 Echo Place the next Concurrent Disk (disk #2 of 2) in drive A.\r
if %3==4 Echo Place the next Concurrent Disk (disk #3 of 4) in drive A.\r
Echo  \r
Pause\r
If not exist A:EDITMENU.CMD goto PROMPT3\r
Echo  \r
Echo Copying files...\r
copy a:*.*/s %2: >nul\r
:PROMPT4\r
if %3==2 goto ENDCOPY\r
Echo  \r
Echo Place the next Concurrent Disk (disk #4 of 4) in drive A.\r
Echo  \r
Pause\r
If not exist A:CARDFILE.CMD goto PROMPT4\r
Echo  \r
Echo Copying files...\r
copy a:*.*/s %2: >nul\r
echo  \r
:ENDCOPY\r
Echo All files copied.\r
Echo   \r
Echo Installing system files.\r
Loadsys install <cr >nul\r
cd o:=%2:\\r
attrib -rh o:\ccpm.sys      >nul\r
era o:\ccpm.sys >nul\r
ren    ccpm.sys \*.*\r
attrib -rh o:\loadsys.com      >nul\r
era o:\loadsys.com  >nul\r
ren    loadsys.com o:\*.*\r
if "%os%"=="CDOS" era o:\cconfig.eem >nul\r
if "%os%"=="CDOS" ren    cconfig.eem o:\*.*\r
if not exist N.CMD goto skipn\r
attrib -rh o:\n.cmd      >nul\r
era o:\N.CMD >nul\r
ren    N.CMD o:\*.*\r
:skipn\r
attrib -rh o:\read.me      >nul\r
era o:\read.me >nul\r
ren    read.me o:\*.*\r
attrib -rh o:\hdmenu.dat      >nul\r
era o:\hdmenu.dat >nul\r
ren    hdmenu.dat o:\*.*\r
attrib -rh o:\cdos.com      >nul\r
era o:\cdos.com >nul\r
ren    cdos.com o:\*.*\r
attrib -rh o:\dredix\text      >nul\r
era o:\dredix\text >nul\r
ren         text o:\dredix\*.*\r
attrib -rh o:\autoexec.bat      >nul\r
ren o:\autoexec.bat o:\autoexec.tmp  >nul\r
copy autoexec.new+o:\autoexec.tmp o:\autoexec.bat  >nul\r
era o:\autoexec.tmp >nul\r
if "%os%"=="CDOS" copy scepter.cmd   \      >nul\r
if "%os%"=="CDOS" attrib +s \scepter.cmd    >nul\r
attrib +s dsp.cmd	>nul\r
attrib +s spl.cmd	>nul\r
era  autoexec.new       >nul\r
era  start001.bat       >nul\r
era  endins.bat		>nul\r
era  installh.bat	>nul\r
era  cr                 >nul\r
CD   %2:\\r
if not exist N.CMD goto skipnat\r
cls\r
echo The next part of the installation procedure will set the system \r
echo for use with your local language keyboard and printer. \r
pause\r
N.CMD\r
:skipnat\r
cls\r
Echo  \r
Echo Installation complete.\r
.\r
:ask99\r
if exist A:ENDINS.BAT goto done\r
echo Insert final Concurrent disk in drive A:\r
pause\r
goto ask99\r
:done\r
a:endins.bat %2\r