간단한 배치에서 파일을 삭제할 수 없습니다 : 내가 명령 줄에서 일괄 처리를 실행하면는이 코드를 포함하는 배치 파일을
del /F /S /Q /A "debug.properties"
del /F /S /Q /A "context/security/preauth/projectid-source/header/projectid-source.xml"
del /F /S /Q /A "context/compatibility/readme.txt"
del /F /S /Q /A "archived_logs"
del /F /S /Q /A "ai-license-add-in-IrsProjectManagement.bin"
del /F /S /Q /A "context/security/preauth/projectid-source/header/projectid-source.properties"
del /F /S /Q /A "debug.properties.DSPROD"
del /F /S /Q /A "context/security/preauth/projectid-source/header"
나는 오류를 얻을 : " 'D'가 아니다 내부 또는 외부 명령, 작동 가능 프로그램 또는 배치 파일로 인식 "
명령문에서 직접 del 문을 실행할 때 제대로 작동합니다.
여기에 어떤 아이디어가 있습니까?
어떤 라인에서 오류가 발생합니까? 배치 파일의 이름은 무엇입니까? – Laf
파일 이름은 test_1b.bat이며 오류는 파일의 첫 번째 행에서 발생합니다. 첫 번째 줄 (REM)을 주석으로 처리 할 때 "R이 내부 또는 외부 명령으로 인식되지 않습니다 ..."라는 메시지가 나타납니다. – user2135970
재미있는 행동입니다. [Question] (http://stackoverflow.com/questions)/22159534 /), 문제 해결에 도움이 되나요? – Laf