VZEditor/VZ-PC98/INSTALL.BAT
Yoshihiko Hyodo 6f06b9514a first commit
2024-11-18 22:21:26 +09:00

84 lines
1.6 KiB
Batchfile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
echo off
cls
rem ===========================================================
rem VZ Editor Version 1.6 Install program
rem ===========================================================
set VZDEF=
if not "%1"=="" goto START
echo Usage: " A>install c:<Enter> or A>install c: \bin<Enter> "
echo (install from A: to C:\VZ or C:\BIN)
goto END
:START
set VZDIR=\VZ
if not "%2"=="" set VZDIR=%2
if not exist %1%VZDIR%\*.* md %1%VZDIR%
cd %1%VZDIR%
vzsel >nul
if errorlevel 7 goto PS55
if errorlevel 6 goto DOSV
if errorlevel 5 goto AX
if errorlevel 3 goto IBM
if errorlevel 2 goto J31
if errorlevel 1 goto PC98
:ERROR
echo *** 動作機種が違います(Illegal hardware).
goto END
:PC98
echo -9801版VZをドライブ %1%VZDIR% にインストールします.
pause
zcopy . %1
goto DONE
:J31
echo -3100版VZをドライブ %1%VZDIR% にインストールします.
pause
copy j31\vzj31.* %1vz.*
copy j31\froll.com %1
zcopy @j31\instj31.lst %1
goto DONE
:DOSV
echo DOS/V版VZをドライブ %1%VZDIR% にインストールします.
pause
zcopy . %1
goto DONE
:AX
echo AX版VZをドライブ %1%VZDIR% にインストールします.
pause
zcopy ax %1
copy vzibmj.def+%1ax.def %1vzax.def
zcopy . %1
goto DONE
:PS55
echo PS/55版VZをドライブ %1%VZDIR% にインストールします.
pause
zcopy ps55 %1
copy vzibmj.def+%1ps55.def %1vzax.def
zcopy . %1
goto DONE
:IBM
echo Install VZ Editor US version to Drive %1%VZDIR%
pause
copy us\vzus.* %1vz.*
copy vzibm.def %1vz.def
zcopy @us\instus.lst %1
goto END
:DONE
echo:
echo Editorのインストールは完了しました.
echo vz [リターン] で起動します.
echo:
:END
%1