정규식 사용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 문자^
https://stackoverflow.com/questions/8192318/why-does-delayed-expansion-fail-when-inside-a-piped-block-of-code 위는 파이프 라인의 작동 원리 https://stackoverflow.com/questions/12976351/escaping-parentheses-within-parentheses-for-batch-file 위는 커맨드 블록 구문 안에서 echo로 ) 출력할 때 ^ 쓰면되는데 파이프로 넘기면 왜 괄호(parentheses)가 안나오는지 어떻게 해결해야 하는진데 맨 위 링크가 근본적인 문제에 대해서 설명 해줌.
http://www.wechall.net/
http://awesometic.tistory.com/
REG DELETE "\\.\HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /va /fREG DELETE "\\.\HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers" /f del "%userprofile%\Documents\Default.rdp" /Q /A:hdel "%userprofile%\Documents\Default.rdp" /Q 출처: http://neoray.org/446