home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 February / PCWorld_1999-02_cd.bin / software / servis / Pgp31 / install.bat < prev    next >
DOS Batch File  |  1997-12-10  |  1KB  |  39 lines

  1. @echo off
  2.  if not exist pgp.exe goto nopgp
  3.  if "%1" == "" goto help
  4.  if "%1" == "o" goto pgpo
  5.  if "%1" == "O" goto pgpo
  6.  if "%1" == "f" goto pgpf
  7.  if "%1" == "F" goto pgpf
  8.  goto help
  9. :pgpo
  10.  echo Creating only the PGP 2.6.3 compatible executables
  11.  copy pgp.exe pgpo.exe >nul
  12.  del pgp.exe >nul
  13.  goto outahere
  14. :pgpf
  15.  echo Creating the full alternativ executables
  16.  copy pgp.exe pgpe.exe >nul
  17.  copy pgp.exe pgps.exe >nul
  18.  copy pgp.exe pgpv.exe >nul
  19.  copy pgp.exe pgpo.exe >nul
  20.  del pgp.exe >nul
  21.  goto outahere
  22. :help
  23.  echo INSTALL must be called with one parameter telling what versions
  24.  echo of the executables you want.
  25.  echo.
  26.  echo INSTALL F
  27.  echo      this installes all executables, including the original
  28.  echo      executables and the PGP 2.6.3 compatible executable
  29.  echo.
  30.  echo INSTALL O
  31.  echo      this installes only the keymanagement and the PGP 2.6.3
  32.  echo      compatible executable. Should be sufficient for most people
  33.  echo.
  34.  goto outahere
  35. :nopgp
  36.  echo ERROR: can't find PGP.EXE
  37.  goto outahere
  38. :outahere
  39.