-
1. Re: java_opts use of ")"
periklis_douvitsas Jul 23, 2012 5:03 AM (in response to ian_h)Hi,
Did you try to put double quotes ?
ie
set "java_opts=%java_opts% -Dblah.blah.blah=this+is+a+sting(just+one+value)+to+be+added"
Hope this helps
-
2. Re: java_opts use of ")"
ian_h Jul 23, 2012 5:15 AM (in response to periklis_douvitsas)Yes I tried that but the error is the same, it still seems to break the string at the ")"
-
3. Re: java_opts use of ")"
periklis_douvitsas Jul 23, 2012 5:41 AM (in response to ian_h)Maybe you can have a look at this page
http://judago.webs.com/batchforloops.htm
He suggests to try one of those
Escaping - The caret(^) is the escape character, using one before the character(including that caret itself) escapes it. When delayed expansion is enabled two carets are needed for exclamation marks, see %variable% !catches!.
Doubling - Normally used for percentage signs, as the name suggests you simple input two where you want one.
Quoting - Where possible, like filenames, surround the string in double quotes.