equal
deleted
inserted
replaced
17 then one backslash (\) is placed in the argv array for every pair of |
17 then one backslash (\) is placed in the argv array for every pair of |
18 backslashes (\\) and the double quotation mark is interpreted as an escape |
18 backslashes (\\) and the double quotation mark is interpreted as an escape |
19 sequence by the remaining backslash, causing a literal double quotation |
19 sequence by the remaining backslash, causing a literal double quotation |
20 mark (") to be placed in argv. |
20 mark (") to be placed in argv. |
21 * In double quote mark need surround such chars: |
21 * In double quote mark need surround such chars: |
22 & < > [ ] { } ^ = ; ! ' + , ` ~ |
22 & < > [ ] { } ^ = ; ! ' + , ` ~ % |
23 Also all this char can be escaped by ^ char. |
23 Also all this char can be escaped by ^ char. |
24 * Long line can be truncated by ^ char, in this case trailing white spaces |
24 * Long line can be truncated by ^ char, in this case trailing white spaces |
25 not allowed. |
25 not allowed. |
|
26 * To quote percent sign % before alpha char in batch file double it |
|
27 occurrences or plase in quotes: |
|
28 prog '%'HOME'%' "%"HOME"%" %%HOME% |
26 |
29 |
27 http://msdn.microsoft.com/en-us/library/ms880421.aspx |
30 http://msdn.microsoft.com/en-us/library/ms880421.aspx |
28 Parsing C Command-Line Arguments |
31 Parsing C Command-Line Arguments |
29 |
32 |
30 * Variables. |
33 * Variables. |