I\'m using Microstation, a CAD-program that supports VBA. I\'ve used VBA to grab a path related to the program and then pass that path on to a bat-file.
The bat file