Problem with passing arguments with empty spaces

Hello folks,

I have a little problem with passing arguments with empty spaces to application started with Bamboo Command task. I found a similar problem discussed here:

Sadly, the suggested quoting of whole parameter does not work for me.

Here are the original arguments I need to pass:

/pa:AUTStartPath="c:\temp\Hello World\HelloWorld.exe" /tc:HelloWorld_1 /zr /zrf:"Ranorex/HelloWorldRX/bin/Debug/Reports/Report.rxzlog"

If there is no empty space in the "Hello World" folder, all arguments are passed OK.

I tried to enclose the problematic argument like this...
/pa:AUTStartPath=""c:\temp\Hello World\HelloWorld.exe"" /tc:HelloWorld_1 /zr /zrf:"Ranorex/HelloWorldRX/bin/Debug/Reports/Report.rxzlog"

or this...
"/pa:AUTStartPath="c:\temp\Hello World\HelloWorld.exe"" /tc:HelloWorld_1 /zr /zrf:"Ranorex/HelloWorldRX/bin/Debug/Reports/Report.rxzlog"

I even tried to use single quotes (based of this document, but to no avail. Any suggestion?

BTW, I'm evaluating Bamboo version 4.3.2 build 3402 - 28 Nov 12.

Thank you in advance!

Pavel Kudrys

2 answers

Try double quotes JUST around the "Hello World" part of the path.

/pa:AUTStartPath=c:\temp\"Hello World"\HelloWorld.exe /tc:HelloWorld_1 /zr /zrf:"Ranorex/HelloWorldRX/bin/Debug/Reports/Report.rxzlog"

Hi Adam,

Thank you for the reply and sorry for my delayed answer. I somehow missed your post ;)

I already tried your suggestion but it did not help. Anyway, because I expect to use some path variables, enclosing just a part of the path would not be a solution at all.

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,095 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot