How to escape quote marks in Exec Command in MSBuild

前端 未结 2 1306
臣服心动
臣服心动 2021-01-30 15:47

I\'m trying to build an MSBuild script that maps a network drive to a drive letter in the script, but unfortunately the path to the target folder includes an embedded space. Th

2条回答
  •  难免孤独
    2021-01-30 16:11

    Use " to encode the double quotes that you want net to see inside the Command attribute value :

     
    

提交回复
热议问题