home *** CD-ROM | disk | FTP | other *** search
/ 3D-Games 2 / 3DGAMES2.bin / Data / cskies / CSKIES.BAT < prev   
Encoding:
DOS Batch File  |  2002-08-26  |  989 b   |  48 lines

  1. @echo off
  2. cls
  3.  
  4. if x%1 == xinstall goto install
  5. if x%1 == xreins goto reins
  6. if not exist c:\3D2INS\cskies\crimson.exe goto temp
  7.  
  8. :install
  9.   if exist c:\3D2INS\cskies\crimson.exe goto insready
  10. :reins
  11.   if exist c:\3D2INS\3D2INS goto install2
  12.   md c:\3D2INS > NUL:
  13.   cls
  14.   echo 3D2INS > c:\3D2INS\3D2INS
  15.   :install2
  16.     md c:\3D2INS\cskies > NUL:
  17.     copy \data\start.exe c:\3D2INS\cskies\start.exe > NUL:
  18.     cls
  19.     \data\moment.exe
  20.     \data\unace32 x -y cskies.ace c:\3D2INS\cskies\ > NUL:
  21.     cls
  22.   :insready
  23.     c:
  24.     cd \3D2INS\cskies
  25.     start.exe /w crimson.exe
  26.     goto einde
  27.  
  28. :temp
  29.   md c:\3D2TMP > NUL:
  30.   copy \data\start.exe c:\3D2TMP\start.exe > NUL:
  31.   copy \data\deltree.exe c:\deltree.exe > NUL:
  32.   cls
  33.   \data\moment.exe
  34.   \data\unace32 x -y cskies.ace c:\3D2TMP\ > NUL:
  35.   cls
  36.   c:
  37.   cd \3D2TMP
  38.   start.exe /w crimson.exe
  39.   c:
  40.   cd \
  41.   deltree /Y c:\3D2TMP > NUL:
  42.   del deltree.exe > NUL:
  43.   goto einde
  44.  
  45. :einde
  46.   @echo off
  47.   cls
  48.