Enclosing subcommand parameters

You can use either a single quotation mark (') or quotation marks (") to enclose parameters.

To enclose a single quotation mark within a parameter, you must enter it either as two consecutive single quotation mark ('') in a parameter that is enclosed by a single quotation mark, or you must enter it as a single quotation mark in a parameter that is enclosed by quotation marks (").

Similarly, if a quotation mark (") is to be contained within a parameter, you must enter it in one of these ways:

  • A quotation mark (") in a parameter that is enclosed by apostrophes.
  • As two consecutive quotation marks ("") in a parameter that is enclosed by quotation marks.

You can use the apostrophe or quotation marks as follows:

  1. If the apostrophe or quotation marks within the parameter are the same as the starting and ending delimiter, you must repeat the mark within the parameter. For example:
    'ABCD'12345'
       results in   ABCD'12345
    "ABCD""12345"
       results in   ABCD"12345
  2. If the starting and ending marks are not the same as the mark within the parameter, you do not repeat the mark. For example:
    "ABCD'12345"
       results in  ABCD'12345
    'ABCD"12345'
       results in  ABCD"12345
  3. If both the apostrophe and quotation marks are within the parameter, you must choose one mark symbol as the delimiter. For example:
    "ABC'12""345"  or  'ABC'12"345'
       results in   ABC'12"345