human
Complete this python program:
def _EscapeCommandLineArgumentForMSBuild(s):
assistant
#Here is the Python code you requested.

    """Escapes a Windows command-line argument for use by MSBuild.
    """
    def _Replace(match):
        return ((((len(match.group(1)) / 2) * 4) * '\\') + '\\"')
    s = quote_replacer_regex2.sub(_Replace, s)
    return s