Passing a parameter with double quote characters

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
JustZisGuy
Newbie
Newbie
Posts: 4
Joined: Sat Mar 07, 2009 4:26 pm

Passing a parameter with double quote characters

Post by JustZisGuy »

Another question, does wine use a different way to escape characters?

I'm trying to pass a parameter from Ubuntu to a particular Windows program that is picky and MUST have double quotes as part of the parameter string, but I can not seem to do that.

For example, using the following from the Ubuntu bash prompt:

Code: Select all

wine cmd '/c=echo "parameter"'
I would expect that it would start the Wine command interpreter and print:

Code: Select all

"parameter"
But instead it prints:

Code: Select all

\"parameter\"
I also tried:

Code: Select all

wine cmd "/c=echo \"parameter\""
which is effectivly the same thing, and it has the same result.
Locked