Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Double backslashes cause problem for external app(Path not recognized as double backslashes are given as parameter)
Double backslashes cause problem for external app [message #870631] Wed, 09 May 2012 07:16
Sup SCFriend
Messages: 15
Registered: February 2012
Junior Member
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
@echo off
start explorer /select, %FILE_TO_SELECT%

[Updated on: Thu, 10 May 2012 08:18]

Report message to a moderator

Previous Topic:MySQL driver not found
Next Topic:Insert Text / Replace Text / Click in Component not working
Goto Forum:

Current Time: Fri May 25 03:35:53 GMT 2018

Powered by FUDForum. Page generated in 0.01944 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top