我想用個在Visual Studio下面的命令行PostBuildEvent創建一個在生成輸出文件夾命名爲設計文件夾PostBuildEvent創建目錄
mkdir $(TargetDir)Design ....Runs Successfully but folder is not created
mkdir "$(TargetDir)Design" ....Runs Successfully but folder is not created
MD $(TargetDir)Design ....Runs Successfully but folder is not created
MD "$(TargetDir)Design" ....Runs Successfully but folder is not created
誰能告訴我,我做錯了什麼
什麼是你'TargetDir'的價值? – Tung
其保存在buildserver中的輸出的相對路徑,例如\\ build \ Sol Build \ Build_1120943.7 – Deepak
您的語法看起來不錯。你可以嘗試在你的'mkdir'命令之後添加'echo'語句作爲完整性檢查,以確保計算出的路徑是你認爲的地方嗎? – Tung