home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR21 / COUNT_31.ZIP / COUNT!.INI < prev    next >
INI File  |  1993-09-24  |  4KB  |  60 lines

  1. {    A COUNT.INI file controls what COUNT! does in launching an application. }
  2. {    This file must be edited prior to using COUNT! to accomplish anything   }
  3. {    Meaningful.                                                             }
  4. {                                                                            }
  5. {    COUNT!.INI consists of a number of applications "Sections" containing   }
  6. {    keywords describing how to launch each application.  Each section       }
  7. {    begins with the ApplicationName in square brackets.  Keywords can be    }
  8. {    any of the following:                                                   }
  9. {                                                                            }
  10. {      ConnectDrive=Drive:,\\Server\Service%Name,Password|*                  }
  11. {                                                         (Win 3.1 Only!)    }
  12. {      DisconnectDrive=YES, Will Automatically Disconnect the                }
  13. {         acquired Network Drive on Exit                                     }
  14. {      Connect=Network connection command                                    }
  15. {      Disconnect=Network disconnection command                              }
  16. {      StartDirectory=Starting directory                                     }
  17. {      Execute=Program invocation command                                    }
  18. {      CountFile=R/W file which holds the current users/license counts       }
  19. {      MaxUsers=Number of users that can use the program simultaneously      }
  20. {      MaxTime=Number of minutes of program use before Count! reminds        }
  21. {         the user to free the application license when done.                }
  22. {      UpdateLicense=Number of minutes between updates of the CountFile      }
  23. {         The default is 5.  A 0 inhibits updates.                           }
  24. {      AutoScrub=YES, Launches Scrub Application if user fails to            }
  25. {         get a License                                                      } 
  26. {                                                                            }
  27. {      All commands other than Execute are optional.                         }
  28. {                                                                            }
  29. {      If a CountFile is used, a DOS environment variable must exist         }
  30. {      prior to entering Windows which provides a user name.                 }
  31. {                                                                            }
  32. {      By default, the Environment variable COUNT! uses to identify the user }
  33. {      name is "NAME=".  You can specify a different environment variable to }
  34. {      be used by adding a [Defaults] Section to Count!.ini, and adding the  }
  35. {      keyword "NameEnvVar=AnyName".  "AnyName" is the environment variable  }
  36. {      COUNT! will use to identify the user.                                 }
  37. {                                                                            }
  38. {    In addition to "Defaults" and applications sections, A "Scrub" section  }
  39. {    can be added to help Maintain CountFiles.  Please Refer to Count!.Txt   }
  40. {    for a description of the using a Scrub section in Count!.ini            }
  41. {                                                                            }
  42. {    A simple example Follows.  Please remove these from your file           }
  43.  
  44. [Defaults]
  45. NameEnvVar=Name
  46.  
  47. [Scrub]
  48. MS_Project=10
  49.  
  50. [MS_Excel]
  51. Connect=USE E:\\MyServer\ExcelProgram /R
  52. Execute=E:\EXCEL\Excel.EXE
  53. Disconnect=USE E: /D
  54.  
  55. [MS_Project]
  56. Execute=L:\WinProj\Project.EXE
  57. StartDirectory=c:\Project
  58. CountFile=Q:\Licenses\Licenses.Dat
  59. MaxUsers=10
  60.