Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   Commands by Topic
      Starting and Stopping Epsilon
         . . .
         Sending Files to a Prior Instance
         MS-Windows Integration Features
            Running Epsilon via a Shortcut
            The Open With Epsilon Shell Extension

Previous   Up    Next
Running Epsilon via a Shortcut  Commands by Topic   Running Other Programs


Epsilon User's Manual and Reference > Commands by Topic > Starting and Stopping Epsilon > MS-Windows Integration Features >

The Open With Epsilon Shell Extension

Epsilon includes a 32-bit shell extension DLL named owitheps.dll, which can be used to add an Open With Epsilon entry to every file's context menu in 32-bit versions of File Explorer. But in this version of Epsilon, the configure-epsilon accomplishes this by simply using registry entries (since this works in all Windows versions), so this shell extension is no longer used. We document it here in case you have an older Epsilon installation that uses the extension.

The Open With Epsilon shell extension may be configured by creating entries in a file named lugeps.ini located in your Windows directory.

These are its default settings, which you can copy to lugeps.ini as a basis for your changes:

[OpenWith]
server=Epsilon
serverflags=
executable=epsilon.exe
runflags=-add -w1
menutext=Open With Epsilon

Once installed, if you select Open With Epsilon from the menu in File Explorer, the shell extension first looks for an Epsilon server named server using Epsilon's -add protocol. If found, it sends the server a command line consisting of the serverflags setting, followed by the file name you selected (inside double quotes).

If there's no such server running, the DLL executes a command line built by concatenating the executable name, the runflags, and the quoted file name. If the executable name is a relative pathname, it first tries to run any executable by that name located in the DLL's current directory. If that fails, it uses the executable name as-is, and lets Windows search for it along the PATH.

If you've selected multiple files, it repeats the above process for each file.

You can alter the menu text Explorer displays by setting the menutext item. This setting doesn't take effect until you restart Explorer, or unload and reload the owitheps.dll file that provides this menu by running regsvr32 /u owitheps.dll, then regsvr32 owitheps.dll. Other changes to the DLL's settings take effect immediately.



Previous   Up    Next
Running Epsilon via a Shortcut  Commands by Topic   Running Other Programs


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.