Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

34 Automating Mif2Go conversions > 34.4 Executing operating-system commands > 34.4.4 Changing configuration settings with system commands


34.4.4 Changing configuration settings with system commands

You can use a system command to make an arbitrary run-time change to a project configuration file, by having the command invoke command-line utility setini.exe, which is included in the Mif2Go distribution.

Command setini changes the value of a single setting:

setini inifile.ini section keyword value

For example:

setini _m2html.ini HTMLOptions NoFonts Yes

would exclude the use of <font> tags in HTML output. To achieve this via system command, you would specify:

[Automation]

SystemStartCommand = setini _m2html.ini HTMLOptions NoFonts Yes



34 Automating Mif2Go conversions > 34.4 Executing operating-system commands > 34.4.4 Changing configuration settings with system commands