Ah yes, very sorry, I just copied that activdir function from your text.Ahh! noticed something.. your variable in FC XE is wrong..
your variable has an "e". i select the variable from the button, so there's no mistake for spelling.
Basically, it's been running the command, but searching in your "I:\programme" directory the whole time
Sorry again, didn't notice that.I edited my last post.. (refresh the page?)
Yes, I will correct it.That explains why the bat file was not running on the active pane.
%activedir% should be %ActivDir%
Thank you very much.