|
Win.ini variables
|
Top Previous Next |
|
Several variables have been added to the win.ini that can be accessed by other programs wishing to interact with Intersection Magic. Most of these variables are set by Intersection Magic and should not be changed by other programs. They simply provide information about where IMW is located.
Program=C:\MAGIC\IMW.EXE (read only) Set by IMW each time it starts. Useful for starting IMW from another app. (When installed properly, registry also contains associations for .DGM, .DGP, .PDS, .PDC files) GISCfg=C:\MAGIC\DEMO\IM2GIS.CFG (read only) Set by IMW each time data is sent to GIS for processing. Identifies a file that contains all settings needed for Map Magic. Map Magic reads this file on each call from an external program. While the GISCfg variable should not be set, there should be no problem making changes to the file that it points to.
LastConfig=C:\MAGIC\DEMO\IMW.INI (read only) Set by IMW upon successful load of a configuration. This variable can be used if IMW is ever opened from an incorrect or unknown directory. If /LAST is specified on the command line when starting the program, it will load that configuration upon startup. While the LastConfig variable should not be set, there should be no problem making changes to the file that it points to. Note that IMW will write new values to the imw.ini file upon closing.
TempDir=C:\WINNT\TEMP\MAGIC (read only) Set by IMW upon startup. Will always be the value of the TEMP= environment variable plus the word MAGIC. This allows all IMW temp files to be grouped in a common directory. In almost all cases, these files may be deleted as desired. RegisteredTo=City of Anytown, USA Set by IMW when user fills in registration box. Can be set by external program if desired. Key=DNAARLA Set by IMW when user fills in registration box. Can be set by external program if desired. Module-MapMagic=ADDOODE Set by IMW when user fills in registration box. Can be set by external program if desired. Expires=12/31/2000 Set by IMW when user fills in registration box. Can be set by external program if desired. |