home *** CD-ROM | disk | FTP | other *** search
/ The Education Master 1994 (4th Edition) / EDUCATIONS_MASTER_4TH_EDITION.bin / files / dataonal / sharebok / install.bat next >
DOS Batch File  |  1993-06-13  |  1KB  |  40 lines

  1. echo off
  2. if "%1" == "" goto GetDrives
  3. if "%2" == "" goto GetDrives
  4. echo on
  5. %2:
  6. MkDir \ShareBk
  7. cd \ShareBk
  8. copy %1:*.zip %2:
  9. copy %1:*.exe %2:
  10. if not exist %2:\sharebk\sharebk1.zip goto abort
  11. unzip sharebk1
  12. del sharebk1.zip
  13. sharebk 
  14. if not exist %2:\sharebk\shareM93.zip goto abort
  15. unzip sharem93
  16. del sharem93.zip
  17. del unzip.exe
  18. shareM 
  19. echo off
  20. goto eggsit
  21. :GetDrives
  22. cls
  23. echo Just in case you don't have an unzipper,
  24. echo  or don't know how to use one......
  25. echo * * * * * * * * * * * * * * * * * * * * * * * * * *
  26. echo This batch file assumes you want to install from a: to c:\shareBk.
  27. echo If that's not the case, the syntax is "install [FromDrive] [ToDrive]"
  28. echo eg; install a c (which is the default)
  29. echo Of course, if you want to install to some other directory,
  30. echo feel free to edit this file to suit your situation.
  31. echo * * * * * * * * * * * * * * * * * * * * * * * * * *
  32. echo Press ctrl/c to abort or any other key to continue
  33. pause 
  34. a:install a c
  35. :Eggsit
  36. cls
  37. echo Thank you!
  38.  
  39. echo Please SHARE this shareware!
  40.