home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / QUICK_10.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-07-23  |  1KB  |  59 lines

  1. @echo off
  2. cls
  3. echo Quick 1.0 Unregistered Version. Copyright 1993 M. J. Kabir (SacSoft)
  4. echo.
  5. if "%1"=="" goto syntax
  6. set | find "windir="  > nul
  7. if  ERRORLEVEL 1 goto in_DOS
  8. echo You MUST exit windows first!  
  9. echo Exit Windows and run INSTALL from your DOS prompt.
  10. echo.
  11. pause
  12. goto end
  13. :in_DOS
  14. if not exist %1\win.com goto bad_dir
  15. if not exist %1\system\vbrun200.dll goto MIA
  16. :okey
  17. echo VBRUN200.DLL detected.
  18. echo.
  19. echo Copying files...
  20. ctty nul
  21. copy QUICK.EXE  %1 
  22. copy QSETUP.EXE %1 
  23. copy QUICK.DBS  %1 
  24. copy QUICK.HLP  %1 
  25. ctty con
  26. echo Loading QSETUP...
  27. SET  QUICK=30BUCKS
  28. cd %1
  29. %1\QSETUP
  30. SET  QUICK=
  31. if exist %1\quick.ini goto cont
  32. echo You did not install QUICK properly, please read QUICK.HLP from Windows.
  33. echo Installation aborted.
  34. goto end
  35. :cont
  36. echo Loading QUICK 1.0...
  37. %1\QUICK 
  38. goto End
  39. :MIA
  40. if exist %1\vbrun200.dll goto okey
  41. echo VBRUN200.DLL is missing!
  42. echo You must have VBRUN200.DLL Visual Basic Runtime library in your
  43. echo Windows System directory to run QUICK 1.0
  44. echo.
  45. echo Please read the QUICK.HLP file for more information.
  46. echo.
  47. goto end
  48. :bad_dir
  49. echo %1 is not your windows 3.1 directory!
  50. echo.
  51. :syntax
  52. echo Syntax : INSTALL windows directory
  53. echo Example: INSTALL c:\windows
  54. echo.
  55. pause
  56. :end
  57. echo Thank you for trying out QUICK 1.0
  58. echo.
  59.