Hi, <br><br>I&#39;m trying to determine the plugin folder at runtime for a plugin I&#39;m writing;<br><br>an example of where I&#39;d like this:<br><br>        (define commit-button<br>          (new switchable-button% <br>
               (label &quot;commit&quot;)<br>               (parent (make-object vertical-pane% (get-button-panel))) <br>               (callback fossil-commit-menu-callback)<br>               [bitmap (make-object bitmap% &quot;projectmgr.png&quot; &#39;png #f)]<br>
               ))<br>        (register-toolbar-button commit-button)<br>;        <br>        ;; my test<br>        (dialog (path-&gt;string (current-directory)))<br>  ;; shows current-directory to be &#39;/&#39;<br><br>The button appears without the image, and my test seems to confirm that the plugin is looking to find the PNG in &#39;/&#39; rather than inthe folder where the plugin is running from.<br>
<br>Any hints appreciated, as I can&#39;t seem to work this out from the documentation.<br><br>Cheers, <br><br>Stephen<br><br>