Button to Open Current Directory in Windows Explorer

I created a very simple button to open the current working directory in Windows Explorer. I thought others may find this useful so I though I'd share it here. Thanks!

<?xml version="1.0"?>
<button backcol="none" display="both" hotkey="ctrl+shift+E" label_pos="right" textcol="none">
	<label>Open in Explorer</label>
	<tip>Open current working directory in Windows Explorer.</tip>
	<function type="normal">
		<instruction>explorer.exe &quot;{sourcepath}&quot;</instruction>

The button simply runs the command explorer.exe "{sourcepath}". I set the shortcut to Ctrl+Shift+E.
I also used the main Explorer icon from the explorer.exe executable in %windir%. This has been tested on Windows 11 and since the icon is different on 10 that may have to be adjusted for Win 10. I have found this useful when working on things that may behave differently in Windows Explorer than DOpus due to compatibility reasons. I hope someone finds this useful. Thanks!

1 Like

That's already in the default toolbars, near the bottom of the Tools menu.

Oh good to know! Thanks. I've been using DOpus since November and I swear I learn new things every day.