home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1995 December / SOFM_Dec1995.bin / pc / dos / gi / install.bat < prev   
DOS Batch File  |  1995-10-31  |  1KB  |  43 lines

  1. echo off
  2. rem %1 is the directory name that program will be copied to.
  3. rem %2 is the name of the program to be copied
  4. rem %3 is the file that starts the program to be copied
  5. cls
  6. echo ................................................................
  7. echo .
  8. echo .                  %2 will be installed to your        
  9. echo .
  10. echo .                  C:\THECLUB\%1 directory.
  11. echo .
  12. echo .      Checking for Directory C:\THECLUB, if it does not exist 
  13. echo .    it will be created.
  14. ECHO .
  15. echo .
  16. echo .
  17. md c:\THECLUB
  18. echo ................................................................
  19. echo .
  20. echo .                 Making directory C:\THECLUB\%1
  21. echo .
  22. echo .
  23. md c:\THECLUB\%1
  24. pause
  25. echo ................................................................
  26. echo .
  27. echo .      Move file to your hard drive.
  28. echo .      This is a list of file being copy to your hard drive.
  29. echo .
  30. echo .
  31. xcopy %1 c:\THECLUB\%1 /S
  32. pause
  33. cls
  34. echo %2 is now install to your Hard Drive C: in directory 
  35. echo C:\THECLUB\%1.  To run this program from a DOS prompt 
  36. echo type C: and press the ENTER key then type 
  37. echo CD \THECLUB\%1 and press the ENTER key.  Your prompt will 
  38. echo know be C:\THECLUB\%1.
  39. ECHO .
  40. echo To start the program type %3 and press the ENTER key.
  41. echo .
  42. pause
  43.