home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR21 / LANLOG11.ZIP / CONFEG02.BAT < prev    next >
DOS Batch File  |  1993-08-01  |  3KB  |  81 lines

  1. ECHO OFF
  2. CLS
  3. rem     This BAT file provides an example use of the configuration/
  4. rem     installation utility LLCONFIG.COM.
  5. rem
  6. rem           Title: Fixed data path, User specied name
  7. rem     Description: Runs LLCONFIG.COM with a DOS parameter for data
  8. rem                  file naming. Can be used to configure a group
  9. rem                  of workstations to write data to the same path
  10. rem                  whilst retaining individual data file names.
  11.  
  12. rem     check to see user has provided a data file name
  13.  
  14. if "%1"=="" goto error
  15.  
  16. rem     they have provided a file name perform installation
  17.  
  18. :INST
  19.  
  20. ECHO    ╔══════════════════════════════════════════════════════╗
  21. ECHO    ║     INSTALLING & CONFIGURING LANLOG's TSR LLOG.COM   ║
  22. ECHO    ╠══════════════════════════════════════════════════════╣
  23. ECHO    ║                                                      ║
  24. ECHO    ║       Installation will take only a few seconds.     ║
  25. ECHO    ║                                                      ║
  26. ECHO    ║ NOTE: Previously installed copies of LLOG.COM will   ║
  27. ECHO    ║       be erased - press CNTRL-C to terminate         ║
  28. ECHO    ║       installation, any other key to continue.       ║
  29. ECHO    ║                                                      ║
  30. ECHO    ║   {Cntrl-C} = terminate, any other key = continue    ║
  31. ECHO    ║                                                      ║
  32. ECHO    ╚══════════════════════════════════════════════════════╝
  33.  
  34. rem     get user response
  35.  
  36. PAUSE
  37.  
  38. rem     Run the LLCONFIG.COM file
  39.  
  40. LLCONFIG /PATH: C:\METER /NAME: %1
  41.  
  42. rem     To change the destination drive and path edit C:\METER
  43. rem     Note, this will create a Meter file only installation
  44. rem     use the /LOG and /MET command line options to override
  45. rem     this default
  46.  
  47. goto QUIT
  48.  
  49. :ERROR
  50.  
  51. rem     user didn't provide a command line parameter for created data
  52. rem     file name.
  53.  
  54. CLS
  55.  
  56. ECHO    ╔══════════════════════════════════════════════════════╗
  57. ECHO    ║                     SYNTAX ERROR                     ║
  58. ECHO    ╠══════════════════════════════════════════════════════╣
  59. ECHO    ║                                                      ║
  60. ECHO    ║ This BATCH file requires a name with which to create ║
  61. ECHO    ║ LANLOG's monitor data file(s).                       ║
  62. ECHO    ║                                                      ║
  63. ECHO    ║ The correct syntax:                                  ║
  64. ECHO    ║                                                      ║
  65. ECHO    ║               CONFEG02 {name}                        ║
  66. ECHO    ║                                                      ║
  67. ECHO    ║ where {name} is any DOS valid 8 character string.    ║
  68. ECHO    ║                                                      ║
  69. ECHO    ║ Example:                                             ║
  70. ECHO    ║                                                      ║
  71. ECHO    ║               CONFEG02 GEORGE                        ║
  72. ECHO    ║                                                      ║
  73. ECHO    ║                                                      ║
  74. ECHO    ╚══════════════════════════════════════════════════════╝
  75.  
  76. rem     The End
  77.  
  78. :QUIT
  79.  
  80. ECHO ON
  81.