home *** CD-ROM | disk | FTP | other *** search
/ swCHIP 1991 January / swCHIP_95-1.bin / utility / grpini / setini16 / setini.doc next >
Text File  |  1995-12-09  |  2KB  |  58 lines

  1. SETINI - Automated Windows .INI file configurer.  Version 1.6b
  2.  
  3. Written by Peter Summers <peter@cardiology.medrmh.unimelb.edu.au>
  4.  
  5. (C) Cardiology Department, Royal Melbourne Hospital.  May be freely
  6. distributed.  Sets values in Windows-style .INI file.  Useful for
  7. altering the configuration of large numbers of Windows PCs on a network.
  8.  
  9. The program takes four or five parameters: file name, section name,
  10. keyname, value and (optionally) options.  Valid options are /add and
  11. /del (see below).
  12.  
  13. Eg. SETINI SYSTEM.INI 386Enh TimerCriticalSection 10000
  14.  
  15. alters the value of TimerCriticalSection to 10000 in the [386Enh]
  16. section of SYSTEM.INI if it has some other value, or adds the line
  17. TimerCriticalSection=10000 if no TimerCriticalSection line exists.
  18. If the section [386Enh] doesn't exist, it is created and the required
  19. line is then added.
  20.  
  21. If the section or keyname spaces, they must be enclosed in quotation
  22. marks (").  If an empty section header is specified ("") then the line
  23. is altered or added before any section header, which is useful for
  24. config.sys files.
  25.  
  26. The option /add adds the line unless it exists exactly, eg.
  27.  
  28.        SETINI SYSTEM.INI 386Enh device vtda.386 /add
  29.  
  30. adds a new device in the 386Enh section of the SYSTEM.INI file, unless
  31. the entire line device=vtda.386 already exists.
  32.  
  33. The option /del deletes a line, eg.
  34.  
  35.         SETINI SYSTEM.INI 386Enh device *vtd /del
  36.  
  37. deletes the line device=*vtd from the 386Enh section of the SYSTEM.INI
  38. file.
  39.  
  40. In version 1.4 of SETINI, the file to be processed is assumed to be in
  41. directory c:\windows unless otherwise specified.  Version 1.4 is less
  42. readily confused than earlier versions by trailing or leading spaces and
  43. by parial matches of key values.
  44.  
  45. In version 1.5, the file extension is assumed to be .INI unless
  46. otherwise specified.  Values containing spaces no longer need to be
  47. contained within quotes.
  48.  
  49. In version 1.6b, config.sys files are supported.  A bug with potentially
  50. deleting lines from the wrong section is also fixed.
  51.  
  52. Please note that the DOS command line limit of 128 characters prevents
  53. the setting of very long key values.
  54.  
  55. For functionality not found in SETINI, look at Andre Schild's MAINTINI.
  56.  
  57. If you find this utility useful, send me some mail and tell me.
  58.