for %f in (C:\Temp\*.txt) do type %f
이렇게 하면 Temp 밑에 있는 text 파일의 내용을 볼 수 있다.
만약 삭제를 하고 싶다면 type 대신에 del 명령어를 사용하면된다.
'CodeGate' 카테고리의 다른 글
10MB 짜리 파일 1만개 (0) | 2012.08.01 |
---|---|
포트모니터링 쉘 스크립트 (0) | 2012.08.01 |
Node JS file upload (0) | 2012.07.27 |
Node JS 개발환경 구축하기 With Eclipse (0) | 2012.07.27 |
Resetting the Host Machine's File Descriptors (0) | 2012.07.19 |