home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Classic / MultimediaClassic.mdf / hardsoft / genius / genius3.ddi / CPT.BAT next >
Encoding:
DOS Batch File  |  1994-03-07  |  416 b   |  28 lines

  1. @echo off
  2.  if (%3)==() goto ERR
  3.  goto START
  4.  
  5. :ERR
  6.  echo The batch requires Microsoft Windows!
  7.  pause
  8.  goto END
  9.  
  10. :START
  11.  md %2 >NUL
  12.  md %2\TMP >NUL
  13.  echo Copy files...
  14.  copy kye.bin %2\TMP >NUL
  15.  %1 >NUL
  16.  cd %2 >NUL
  17.  echo Y | del . >NUL
  18.  ren TMP\kye.bin kye.exe >NUL
  19.  TMP\kye
  20.  del TMP\kye.exe
  21.  rd TMP
  22.  set DDD=%3
  23.  if (%3)==(3) set DDD=1
  24.  ren pcimg%DDD%.dll pcimage.dll >NUL
  25.  set DDD=
  26.  
  27. :END
  28.