Use of the Registry

Zim stores basic information in the Registry.

Location

The Zim and SQLCPI environment variables are located in the registry at

/ hkey_local_machine/software/Zim Corporation/Zim/<version number>

where version number is the version of Zim that you are currently running.

Zim's Registered Extensions

Zim's registration utility registers the . zsu, . zmu, . zrt and . zrm extensions. When Zim is invoked by activating a file with one of these predefined extensions, Zim reads the contents of the file searching for a startup directory entry, a startup document entry, or both. If the startup directory entry is found, Zim makes the startup directory current before checking for a config.zim file. If the startup document is found, Zim uses that document as its startup document. The Zim runtimes look for a startup filename entry as opposed to a startup document entry. The New Database Utility ( ziminitw.exe) creates default " projname.zsu", " projname.zmu", " projname.zrt" and " projname.zrm" files in the database directory. The string " projname" can be changed to any other valid filename, but the extension must be retained. The files can be moved to another directory and their contents can be altered.