home *** CD-ROM | disk | FTP | other *** search
/ The Final Windows Shareware CD / _.img / winshare / general / taskm11 / install.bat < prev    next >
DOS Batch File  |  1993-03-28  |  878b  |  51 lines

  1. @echo off
  2. cls
  3. echo Intalling "Task Master"
  4. echo. 
  5. echo.
  6. if not %1z == z goto yep
  7. echo This will copy the files in the A: disk drive to a directory
  8. echo named \TM on drive C:.
  9. echo.
  10. echo If you wish to install from a drive other than A: or to a different 
  11. echo destination drive use:
  12. echo        INSTALL [form drive letter:] [to drive letter:]
  13. echo.
  14. echo Do you want to continue? [No]
  15. confirm
  16. if errorlevel == 1 goto :yep
  17. goto :skipit
  18. :yep
  19. if %2z == z goto :nodr
  20. %2
  21. goto mkdirect
  22. :nodr
  23. cls
  24. echo.
  25. echo Will install "Task Master" on C:\TM correct? (Y or N)
  26. confirm     
  27. if not errorlevel == 1 goto :skipit
  28. c:
  29. :mkdirect
  30. if exist tm\taskm.exe goto :gotit
  31. cd \
  32. md tm
  33. cd \tm
  34. :gotit
  35. cls
  36. echo.
  37. echo.
  38. echo Copying "Task Master," one moment please ...
  39. if %1z == z goto usea
  40. copy %1*.* 
  41. goto done
  42. :usea
  43. copy a:*.* 
  44. :done
  45. tm_1st
  46. :skipit
  47.  
  48.  
  49.  
  50.  
  51.