home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / ls40demo.zip / INSTALL.BAT next >
DOS Batch File  |  1994-08-25  |  720b  |  39 lines

  1. @echo off
  2. cls
  3.  
  4. @echo
  5. if %1. == . goto Letter
  6. goto DUP
  7.  
  8. :Letter
  9. @Echo To Install Demo
  10. @Echo  Type    A:Install "X"
  11. @Echo  Where "X" is the drive letter C D or E
  12. @Echo  Where you want the demo installed.
  13. @Echo  Installation Requires 3MB Disk Space.
  14. goto End
  15.  
  16. :DUP
  17. %1:
  18. md %1:\ls40demo
  19. copy a:\read.me %1:\ls40demo
  20. if not exist %1:\ls40demo\read.me goto baddir
  21. cd %1:\ls40demo
  22. if errorlevel 1 goto baddir
  23. a:ls40demo
  24. if errorlevel 1 goto Space
  25. st ls40demo
  26. goto End
  27.  
  28. :Space
  29. @echo "check disk " %1 "  for 3MB space"
  30. goto End
  31.  
  32. :baddir
  33. @echo "Check if drive or directory exists"
  34. @echo "Remove Directory and try again"
  35. goto Letter
  36.  
  37. :End
  38.  
  39.