parameters: (s)
return_statement: return s
docstring: Escapes a Windows command-line argument for use by MSBuild.
docstring_summary: Escapes a Windows command-line argument for use by MSBuild.
docstring_tokens: Escapes a Windows command - line argument for use by MSBuild .
function: def _EscapeCommandLineArgumentForMSBuild(s):
    """Escapes a Windows command-line argument for use by MSBuild."""
  
    def _Replace(match):
      return (len(match.group(1)) / 2 * 4) * '\\' + '\\"'
  
    # Escape all quotes so that they are interpreted literally.
    s = quote_replacer_regex2.sub(_Replace, s)
    return s
function_tokens: def _EscapeCommandLineArgumentForMSBuild ( s ) : def _Replace ( match ) : return ( len ( match . group ( 1 ) ) / 2 * 4 ) * '\\' + '\\"' # Escape all quotes so that they are interpreted literally. s = quote_replacer_regex2 . sub ( _Replace , s ) return s