So I ran into following issue. I need to run some program with parameters from cmd and one of parameters has double quotes symbol in it, e.g. Some parameter "" with double quotes
. So how to pass it? I tried "Some parameter ^"^" with double quotes"
but it didn't work.
Asked
Active
Viewed 528 times
0

Andrei Shakh
- 181
- 4
1 Answers
0
You can try backslash '\' before the double quotes like "abcd\"\"efg"

NamrataP
- 165
- 1
- 2
- 9
-
@AndreiShakh, it will *not work* in batch files, but the OP is trying to pass a quoted string containing double quotes to a program *from* cmd. In this case the proposed solution *should* work (see [here](http://msdn.microsoft.com/en-us/library/a1y7w461.aspx) and [here](http://stackoverflow.com/q/23774994/2861476)) – MC ND Jul 30 '14 at 14:10