Mr. Brendan Larcombe 0 Report post Posted July 16, 2014 Hi Guys, I'm trying to use getDesignDir() to output the directory path of a linked computation. The problem is it generates a directory address with forward slashes rather than backslashes and I need to run it via windows command prompt which doesn't recognise the address as valid due to the forward slashes. Now, I know what I need to do, but I've got no idea where to start or how to go about doing it. Any advice would be greatly appreciated. Share this post Link to post Share on other sites
Mr. Arne Bergmann 27 Report post Posted July 16, 2014 Hi, You can use the following command to replace the forward slashes into backslashes: getDesignDir().replaceByString("/", "\?").replaceByString("?", "") Until recently we've never had such a request, all external programs could handle the (ISO standard) forward slashes. You are now the third one with this request within a month, so we will come up with a way to make this more straight forward. Arne Share this post Link to post Share on other sites
Mr. Arne Bergmann 27 Report post Posted February 23, 2015 Just as an update:The commands that return the relevant paths now all have a Windows equivalent that return the paths with a backlash as the path separator:getDesignDir - getWindowsDesignDirgetResultsDir - getWindowsResultsDirgetInputDir - getWindowsInputDirresolveEnv - resolveWindowsEnv Best regardsArne 1 Share this post Link to post Share on other sites