To open a particular document from inside Windows Explorer using Zeus, import the following registry details into the registry using RegEdit.
IMPORTANT NOTE: The <User ID> references in the code needs to be changed to your user id and you need to make sure Zeus has been installed in that folder location.
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\ZeusDocument]
@="Text Document"
[HKEY_CLASSES_ROOT\ZeusDocument\DefaultIcon]
@="%SystemRoot%\\SysWow64\\shell32.dll,-152"
[HKEY_CLASSES_ROOT\ZeusDocument\shell]
[HKEY_CLASSES_ROOT\ZeusDocument\shell\open]
[HKEY_CLASSES_ROOT\ZeusDocument\shell\open\command]
@="\"C:\\Users\\<User ID>\\AppData\\Local\\Programs\\Zeus\\z.exe\" -s \"%1\""
Next import the registry details shown below into the registry, changing the <extension> marker to the file extension to be opened using Zeus.
For example changing that marker to .txt means all text documents will be opened in Zeus.
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\<extension>]
"Content Type"="text/plain"
"PerceivedType"="text"
@="ZeusDocument"
Open Zeus Workspace in Windows Explorer
To automatically open Zeus workspace files from inside Windows Explorer, save the code below to the ZeusWorkspace.reg file and import that file into the registry using RegEdit.
IMPORTANT NOTE: The <User ID> references in the code needs to be changed to your user id and you need to make sure Zeus has been installed in that folder location.
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\ZeusWorkspace]
@="Zeus Workspace"
[HKEY_CLASSES_ROOT\ZeusWorkspace\shell]
[HKEY_CLASSES_ROOT\ZeusWorkspace\shell\open]
[HKEY_CLASSES_ROOT\ZeusWorkspace\shell\open\command]
@="\"C:\\Users\\<User ID>\\AppData\\Local\\Programs\\Zeus\\z.exe\" -s -w \"%1\""
Then associate the .zwi file extension with that ZeusWorkspace entry using the following registry entry:
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.zwi]
"Content Type"="text/plain"
"PerceivedType"="text"
@="ZeusWorkspace"
Cheers Jussi