Specific settings files (INI files)


From version 1.04.0.0004, Easy Code includes the "/C" (or "/c") switch in its command line for using configuration files other than the default one (EasyCode.ini). The "/C" switch must be followed by a file name up to 8 characters long (with no extension). Below is the syntax for /C:

/C<FileName> [ProjectPath]
or:
/C <FileName> [ProjectPath]     (note a blank between /C and <FileName>)

Where <FileName> is any valid file name up to 8 characters long (if longer, it will be trimmed to 8) and [ProjectPath] is the path to the project to be opened. The [ProjectPath] parameter is optional, so no project will be opened if [ProjectPath] is not specified. On the other hand, Easy Code always adds the "ini" extension to <FileName>, so no extension should be specified.

You can type none, one or more blanks between /C and <FileName> (as you like), but at least a blank is needed between <FileName> and [ProjectPath]. Below is a simple example which will run Easy Code with no project and using the ECW7_64.ini file settings:
/C ECW7_64

The following example will run Easy Code using the ECW7_64.ini file settings and opening the Test.ecp project, located at D:\Projects\EC\Test:
/C ECW7_64 D:\Projects\EC\Test\Test.ecp

The following example does not use the "/C" switch, so it will run Easy Code using the default file settings (EasyCode.ini) and opening the Test.ecp project, located at D:\Projects\EC\Test:
D:\Projects\EC\Test\Test.ecp


REMARKS: If the file specified by the /C switch does not exist, it will be created with default values.