Automated merge with file:///cygdrive/d/srv/hg-home/admin-doc
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 02 Jun 2010 10:45:03 +0300
changeset 411 3f0531193caf
parent 406 8bfad2e06bb6 (current diff)
parent 410 46d2180b4dc5 (diff)
child 412 9617dc568eaf
Automated merge with file:///cygdrive/d/srv/hg-home/admin-doc
--- a/cmd.rst	Thu May 27 15:18:39 2010 +0300
+++ b/cmd.rst	Wed Jun 02 10:45:03 2010 +0300
@@ -19,10 +19,13 @@
    sequence by the remaining backslash, causing a literal double quotation
    mark (") to be placed in argv.
  * In double quote mark need surround such chars:
-     & < > [ ] { } ^ = ; ! ' + , ` ~
+     & < > [ ] { } ^ = ; ! ' + , ` ~ %
    Also all this char can be escaped by ^ char.
  * Long line can be truncated by ^ char, in this case trailing white spaces
    not allowed.
+ * To quote percent sign % before alpha char in batch file double it
+   occurrences or plase in quotes:
+     prog '%'HOME'%' "%"HOME"%" %%HOME%
 
   http://msdn.microsoft.com/en-us/library/ms880421.aspx
                 Parsing C Command-Line Arguments