웹서버 | 윈도우 bat 자동파일삭제
페이지 정보
작성자 박석영 작성일22-04-18 14:19 조회856회 댓글0건관련링크
본문
@echo off
forfiles /P C:\apache-tomcat-7\logs /S /M *.log /D -30 /C "cmd /c del @file"
forfiles /P C:\apache-tomcat-7\logs /S /M *.txt /D -30 /C "cmd /c del @file"
exit
해당폴더 30일 지난 데이터 log,txt 삭제
forfiles /P C:\apache-tomcat-7\logs /S /M *.log /D -30 /C "cmd /c del @file"
forfiles /P C:\apache-tomcat-7\logs /S /M *.txt /D -30 /C "cmd /c del @file"
exit
해당폴더 30일 지난 데이터 log,txt 삭제
[주소복사] https://www.goodsweb.kr/?u=D41Z5Tby
SNS 알리기
핀터레스트
텔레그램로
블로그로
페이스북
트위터
카카오스토리
카톡 공유
관련 블로그
로딩중