speed72579687 wrote:我想利用bat來取代檔案是想把1.jar取代掉同目錄的2.jar如果沒有1.jar則不取代 if exist 1.jar copy /y 1.jar 2.jar>nul&del 1.jar