Command Line

Command SETINI

Function:

Set or delete an initialisation file key value.
Syntax:
SETINI section key=[value] [filename]
sectionSpecifies the section name.
keySpecifies the name of the key in the section to use.
valueSpecifies the key value to set.
filenameSpecifies the initialisation file name.
Note:
  • Initialisation files generally have a .INI file extension.
  • The file extension must be included as part of the file name when parameter filename is specified (eg. WIN.INI).
  • When parameter filename is not specified then WIN_ONE.INI is used. Since WIN_ONE.INI is automatically mapped to the System Registry, then setting or deleting a key value from WIN_ONE.INI will set or delete the key value from the System Registry.
  • When parameter value is not specified then the key will be deleted from the specified section in the initialisation file.
  • When parameter key is specified as an empty string (ie. "") then the complete section will be deleted from the initialisation file. The syntax is as follows :-
    SETINI section "" [filename]
  • Also see command GETINI, GETREG, SETREG and Batch Programs.

Copyright © 1995-2005 Lucien Cinc, All Rights Reserved
WinOne is an Australian registered trademark of Lucien Cinc