home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR21 / LANLOG11.ZIP / CONFEG03.BAT < prev    next >
DOS Batch File  |  1993-08-01  |  4KB  |  92 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: Use physical LAN address, provide department name.
  7. rem     Description: Runs LLCONFIG.COM with a DOS parameter for data
  8. rem                  path selection. Uses /netware command line option
  9. rem                  for file naming. The data path selected may
  10. rem                  represent the department of the workstation etc
  11.  
  12.  
  13. rem     NOTE:   THIS BATCH FILE ASSUMES THAT THE WORKSTATION ON WHICH IT
  14. rem             IS RUN IS RUNNING NOVELL NETWARE
  15.  
  16. rem     check to see user has provided a dept/dir name
  17.  
  18. if "%1"=="" goto error
  19.  
  20. rem     they have provided a file name perform installation
  21.  
  22. :INST
  23.  
  24. ECHO    ╔══════════════════════════════════════════════════════╗
  25. ECHO    ║     INSTALLING & CONFIGURING LANLOG's TSR LLOG.COM   ║
  26. ECHO    ╠══════════════════════════════════════════════════════╣
  27. ECHO    ║                                                      ║
  28. ECHO    ║       Installation will take only a few seconds.     ║
  29. ECHO    ║                                                      ║
  30. ECHO    ║ NOTE: Previously installed copies of LLOG.COM will   ║
  31. ECHO    ║       be erased - press CNTRL-C to terminate         ║
  32. ECHO    ║       installation, any other key to continue.       ║
  33. ECHO    ║                                                      ║
  34. ECHO    ║   {Cntrl-C} = terminate, any other key = continue    ║
  35. ECHO    ║                                                      ║
  36. ECHO    ╚══════════════════════════════════════════════════════╝
  37.  
  38. rem     get user response
  39.  
  40. PAUSE
  41.  
  42. rem     Run the LLCONFIG.COM file
  43.  
  44. LLCONFIG /PATH: C:\METER.DAT\%1 /NETWARE
  45.  
  46. rem     To change the destination drive and path edit C:\METER.DAT
  47. rem     Note, this will create a Meter file only installation
  48. rem     use the /LOG and /MET command line options to override
  49. rem     this default.
  50.  
  51. rem     If you wish to use physical address but are not running netware
  52. rem     you can replace /NETWARE with /NETBIOS - netbios need only be
  53. rem     running for the installation, -NOT- during the normal operation
  54. rem     of the workstation.
  55.  
  56. rem     Including either /Netware or /Netbios will have unpredicatble
  57. rem     results if these systems are not in fact loaded
  58.  
  59. goto QUIT
  60.  
  61. :ERROR
  62.  
  63. rem     user didn't provide a command line parameter for created data
  64. rem     file name.
  65.  
  66. CLS
  67.  
  68. ECHO    ╔══════════════════════════════════════════════════════╗
  69. ECHO    ║                     SYNTAX ERROR                     ║
  70. ECHO    ╠══════════════════════════════════════════════════════╣
  71. ECHO    ║                                                      ║
  72. ECHO    ║ This BATCH file requires a name with which to create ║
  73. ECHO    ║ a portion of LANLOG's data file destination path.    ║
  74. ECHO    ║                                                      ║
  75. ECHO    ║ The correct syntax:                                  ║
  76. ECHO    ║                                                      ║
  77. ECHO    ║               CONFEG03 {name}                        ║
  78. ECHO    ║                                                      ║
  79. ECHO    ║ where {name} is any DOS valid 12 character string.   ║
  80. ECHO    ║                                                      ║
  81. ECHO    ║ Example:                                             ║
  82. ECHO    ║                                                      ║
  83. ECHO    ║               CONFEG03 ACCOUNTS                      ║
  84. ECHO    ║                                                      ║
  85. ECHO    ╚══════════════════════════════════════════════════════╝
  86.  
  87. rem     The End
  88.  
  89. :QUIT
  90.  
  91. ECHO ON
  92.