home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / BBS / DEMO225.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-11-13  |  1KB  |  53 lines

  1. @echo off
  2. if .%1.==.. goto help
  3. if .%2.==.. goto help
  4. if not exist %1\*.* goto help
  5. if not exist %2\*.* goto help
  6. goto install
  7.  
  8. :help
  9. echo  
  10. echo To install the demo, type "INSTALL X: Y:" where X: is the source
  11. echo drive (drive with the demo disk) and Y: is the destination (hard) drive.
  12. echo For example, to install from a floppy disk in drive A to drive C, type:
  13. echo  
  14. echo   INSTALL A: C:
  15. echo  
  16. echo If you are installing this demo from a directory on your hard drive
  17. echo rather than from a floppy disk, specify the ENTIRE DIRECTORY NAME of
  18. echo the directory where these installation files are located. For example,
  19. echo if you unZipped a demo file obtained from a BBS into your "c:\telix\dl"
  20. echo directory, the command you'd want to type is:
  21. echo  
  22. echo   INSTALL C:\TELIX\DL C:
  23. echo  
  24. echo The install program will create a directory called \SLDEMO on the 
  25. echo destination drive, and install the demo there. Approximately 1 Megabyte
  26. echo of hard disk space is required.
  27. echo  
  28. goto exit
  29.  
  30. :install
  31. %2
  32. cd \
  33. mkdir sldemo >nul
  34. cd sldemo
  35. echo  
  36. echo Installing Searchlight Demo. Please Wait.
  37. mkdir text >nul
  38. mkdir subs >nul
  39. mkdir menu >nul
  40. %1\main >nul
  41. cd text
  42. %1\text >nul
  43. cd ..\subs
  44. %1\subs >nul
  45. cd ..\menu
  46. %1\menu >nul
  47. cd ..
  48. echo Searchlight Demo is installed. To begin, type 'DEMO'.
  49. echo  
  50.  
  51. :exit
  52.  
  53.