home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1996 November
/
VPR9611B.ISO
/
driver
/
iodata
/
ab6_102
/
update.bat
< prev
Wrap
DOS Batch File
|
1996-05-30
|
2KB
|
71 lines
@echo off
echo CDG-AB6 1.00,1.01 → 1.02 差分更新バッチファイル
echo COPYRIGHT (C) 1996 I-O DATA DEVICE,INC. All Rights Reserved.
rem JE9WKV
rem 96.05.30
echo ----------------------------------------------------------------------
if "%1" == "" goto help
if "%2" == "" goto help
if "%3" == "100" goto verok
if "%3" == "101" goto verok
goto help
:verok
if not exist %2root101.upc goto help
echo サポートソフトウェアのバックアップFD... %1ドライブ
dir %1 /w
echo このFDを更新します。(マスタディスクは絶対に更新しないでください。)
echo よろしいですか?
echo 中止...[Ctrl]+[C] 処理を続ける...その他のキー
pause
rem === ディスク チェック 開始 ===
echo 正しいバックアップディスクかチェックしています。
if not exist %1SETUP.EXE goto baddisk
if not exist %1PLAYCD.EX_ goto baddisk
rem === ディスク チェック 終了 ===
echo ----- 更新開始 -----
rem ren *.upe *.exe
ren *.upc *.com
%1
cd\
if "%3" == "101" goto ver101
%2root101 > nul
del $*.*
cd 98
%298101 > nul
del $*.*
cd\
:ver101
%2root102 > nul
del $*.*
%2
rem ren *.exe *.upe
ren root101.com root101.upc
ren root102.com root102.upc
ren 98101.com 98101.upc
rem echo %1ドライブのボリュームラベルを設定します。
rem echo 中止...[Ctrl]+[C] 処理を続ける...その他のキー
rem pause
rem label %1
echo ----- 更新完了 -----
goto end
:baddisk
サポートソフトウェアディスクではありません。
goto end
:help
echo 書式 update [サポートソフトFDD] [HDD] [バージョン番号]
echo 例 update c: a: 100 ... FDDがC: HDDがA: バージョン1.00の場合
echo 例 update a: c: 101 ... FDDがA: HDDがC: バージョン1.01の場合
:end