Hello,
my development-path is X:
I have the possibility to map different directories to this drive-letter by the dos subst-command.
Now I would like to have the information, which directory is currently mapped.
Therefore I do the mapping by batch and create a file with the directory-name in a folder called 'currentmapping'.
Furthermore I have created a new Toolbar-Button with the following code:
Go "C:\currentmapping" FOLDERCONTENT
Ok, the button now shows the currently mapped directory.
This button should only attend as an Information!
But if I click it by mistake, the Open-With-Dialogue appears.
Therefore it would be nice either to disable the button or to have an new non-clickable ToolBar-Item.
Any Ideas?