home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / statstcs / mystat.arc / M1.BAT < prev    next >
DOS Batch File  |  1987-02-15  |  2KB  |  61 lines

  1. echo off
  2. cls
  3. a:
  4. verify on
  5. if %1 == FLOPPY goto floppy
  6. if %1 == HARD goto hard
  7. ECHO  Welcome to MYSTAT.  Before you can use MYSTAT, you must make a copy of this 
  8. echo  disk.  If you have a hard disk, type the following in upper case:
  9. echo     
  10. echo          A:INSTALL HARD    [Enter] 
  11. ECHO      
  12. echo  If you have a floppy disk machine, you must first FORMAT two new disks and 
  13. echo  place DOS on them.  Find your DOS disk, insert it in drive A:, put a new 
  14. echo  disk in drive B: and type:  
  15. ECHO       
  16. echo          FORMAT B:/S       [Enter]
  17. ECHO      
  18. echo  When you have formatted this disk, remove it and label it MYSTAT/WORK with a
  19. echo  pen.  Answer N to the "Format Another? (Y/N)" question.  Then label a second 
  20. echo  disk MYSTAT/PROGRAM with a pen and insert it into drive B: and type:
  21. echo      
  22. echo          FORMAT B:         [Enter]
  23. echo        
  24. echo  Do not add the /S option this time.  After you have formatted this second 
  25. echo  disk, answer N to the Format question and remove the DOS disk from drive A:
  26. echo  Place the original MYSTAT disk in drive A: and leave the new MYSTAT/PROGRAM 
  27. echo  disk in drive B: and type in upper case after the DOS prompt:
  28. ECHO       
  29. echo          INSTALL FLOPPY
  30. goto quit
  31. :floppy
  32. copy *.* b:
  33. rename b:mystar.exe mystat.exe
  34. b:
  35. goto end 
  36. :hard
  37. ECHO       
  38. ECHO  The following installation procedure will set up your hard disk to run 
  39. echo  MYSTAT.  First, it will create a subdirectory on your hard disk called 
  40. echo  SYSTAT.  Then, it will copy MYSTAT to this subdirectory.  Next, it will 
  41. echo  copy a file called CONFIG.SYS to your root directory on the hard disk. 
  42. echo  If you already have a file called CONFIG.SYS, this INSTALL procedure
  43. echo  will not erase it.  Instead, it will add two lines to the end of your 
  44. echo  CONFIG.SYS file.  None of these modifications will affect other software 
  45. echo  and the INSTALL procedure will not otherwise modify or erase any files 
  46. echo  you have on the hard disk.  
  47. echo
  48. echo  If you receive the message "Unable to create directory" when you run this,
  49. echo  do not worry.  It means that you already have a subdirectory called 
  50. echo  \SYSTAT.  In this case, the install procedure will copy MYSTAT into your
  51. echo  exising \SYSTAT directory. 
  52. pause 
  53. mkdir c:\systat
  54. copy a:*.* c:\systat
  55. c:
  56. cd \systat
  57. :end
  58. if %1 == FLOPPY M2 FLOPPY
  59. if %1 == HARD M2 HARD
  60. :quit
  61.