|Double backslashes cause problem for external app [message #870631]
||Wed, 09 May 2012 07:16
Registered: February 2012
I have a testcase where an external application is started. This application (Windows Explorer) is given a path (out of a variable) as parameter on startup. Unfortunately it does not recognize the path as valid, as it is not passed out with single backslashes by Jubula. |
I tried to use slashes ('/') instead of backslashes ('\') but this helped neither. Nor did a test work, where I did not use a value of a variable, but passed " 'C:\temp' " as parameter directly to the external app - it still states, that the path "C:\\temp" would not exist.
What would be the way to pass a path for an external program, so that this external app gets the path with single backslashes?
If anyone tumbles over this post with a similar problem - at the moment I use a batch file as workaround which replaces the double backslash
start explorer /select, %FILE_TO_SELECT%
[Updated on: Thu, 10 May 2012 08:18]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01989 seconds