배치파일활용
http://kyungseo.pe.kr/blog/49 에서 참고
- http://www.code400.com/forum/showthread.php?t=3235 : 배치 파일에서 파일의 내용을 한줄씩 읽기
- http://infosadmin.com/273 : 배치 파일로 완성한 백업 스크립트
- http://weakcarrot.tistory.com/tag/DOS : 현재 년월일시분을 포함한 파일명의 압축파일을 생성하는 배치파일
하위폴더 모두 지우기
@echo off
dir /AD /S /B CVS* > del.txt
FOR /F %%a IN (del.txt) do rmdir /S /Q %%a
setLocal
start "Title' commandName
dir /a-d /s /b -> 파일명으로 된 목록만 쭉 뽑기
>
History
Last edited on 03/12/2009 14:40 by benelog
Comments (0)