Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: quotation marks quote marks
x=Strcat(""%info1%"",""%info2%"",""%info3%"")How can I make it recognize the quotation marks as text? I have tried the num2char command but this doesn't work either. WinBatch will recognise all three different kinds of quote marks:
'single quotes'
"double quotes"
`back quotes`
so just use a different kinf to keep WinBatch happy. Like...
x=Strcat(`"%info1%"`,`"%info2%"`,`"%info3%"`) Message("Try 1",x)But I think you really want:
x=Strcat(`"%info1%","%info2%","%info3%"`) Message("Try 2",x)or maybe better yet...
q=`"` ; a quote qcq='","' ; quote comma quote x=Strcat(q,info1,qcq,info2,qcq,info3,q) Message("Try 3",x)
Article ID: W13181
Filename: Retain Quotation Marks in WB Command Lines.txt
File Created: 1999:04:15:16:52:18
Last Updated: 1999:04:15:16:52:18