티스토리 뷰
정규식 사용
findstr has no full REGEX Support. Especially no {Count}. You have to use a workaround:
echo %var%|findstr /r "^[a-z][a-z]$ ^[a-z][a-z][a-z]$"
which searches for ^[a-z][a-z]$ OR ^[a-z][a-z][a-z]$
(Note: there is no space between %var% and | - it would be part of the string)
디렉토리 최신순 파일명만
dir /o-d /b
escape 문자
^
댓글