Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Whitespace while using execute external command
Whitespace while using execute external command [message #1523307] Mon, 22 December 2014 21:29 Go to next message
Todd P is currently offline Todd PFriend
Messages: 10
Registered: October 2012
Junior Member
I am attempting to copy some files from one folder to another using the execute external command test action. I can't seem to get Jubula to handle whitespace in the path name.

This works:
Xcopy "C:\\setup.log" "C:\\ToddTest"

This does not work with a space in the folder name:
Xcopy "C:\\setup.log" "C:\\Todd Test"

Can someone tell me how to use the correct quotes (single and/or double) to complete this command? I have tried all sorts of combinations.

Thanks!
Re: Whitespace while using execute external command [message #1523383 is a reply to message #1523307] Mon, 22 December 2014 22:30 Go to previous messageGo to next message
Todd P is currently offline Todd PFriend
Messages: 10
Registered: October 2012
Junior Member
Hey I just figured out how to do this using part of another form post. It turns out that you need to break the command in two.

Command string :
"cd 'C:\Todd Test' " & Xcopy 'C:\setup.log'

Hope this helps someone else!
Re: Whitespace while using execute external command [message #1549170 is a reply to message #1523383] Tue, 06 January 2015 11:15 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Thanks for adding the answer!
Previous Topic:interfacing Matlab with Jubula
Next Topic:No project with name "XYZ" and version "123" in database
Goto Forum:
  


Current Time: Sat Jul 27 05:08:54 GMT 2024

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

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

Back to the top