home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 March / VPR9703B.ISO / driver / iodata / rsa_1402 / update.bat < prev   
DOS Batch File  |  1996-05-02  |  1KB  |  60 lines

  1. @echo off
  2. echo RSA-98シリーズ 1.30 → 1.40 差分更新バッチファイル
  3. echo COPYRIGHT (C) 1996 I-O DATA DEVICE,INC. All Rights Reserved.
  4. rem scripted by JE9WKV
  5. rem 96.05.02
  6. echo ----------------------------------------------------------------------
  7.  
  8. if "%1" == "" goto help
  9. if not exist %2rsa_140.upe goto help
  10.  
  11. echo サポートソフトウェアのバックアップFD... %1ドライブ
  12. dir %1 /w
  13. echo このFDを更新します。(マスタディスクは絶対に更新しないでください。)
  14. echo よろしいですか?
  15. echo 中止...[Ctrl]+[C]   処理を続ける...その他のキー
  16. pause
  17.  
  18. rem === ディスク チェック 開始 ===
  19. echo 正しいバックアップディスクかチェックしています。
  20. if not exist %1\WIN\SETUP.EXE goto baddisk
  21. rem === ディスク チェック 終了 ===
  22.  
  23. echo ----- 更新開始 -----
  24.  
  25. ren *.upe *.exe
  26. rem ren *.upc *.com
  27.  
  28. %1
  29. cd\
  30. del \dos\readme.doc
  31. del \win\setup.exe
  32. del \win\readme.doc
  33. del \win\rs98vcd.386
  34. del \win95\rsa98\serrsa98.vxd
  35. del \win95\rsa98sb\serrsa98.vxd
  36. del \win95\readme.txt
  37. %2rsa_140 > nul
  38.  
  39. cd \
  40. %2
  41.  
  42. ren *.exe *.upe
  43. rem ren *.com *.upc
  44.  
  45. rem echo %1ドライブのボリュームラベルを設定します。
  46. rem echo 中止...[Ctrl]+[C]   処理を続ける...その他のキー
  47. rem pause
  48. rem label %1
  49.  
  50. echo ----- 更新完了 -----
  51. goto end
  52.  
  53. :baddisk
  54. サポートソフトウェアディスクではありません。
  55. goto end
  56. :help
  57. echo 書式  update [サポートソフトFDのドライブ] [ハードディスクのドライブ]
  58. echo   例  update c: a: ... FDDがC: HDDがA:の場合
  59. :end
  60.