정규식 사용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
기본 쉘이 bash가 아니다. bash로 설정을 했다면 홈 폴더에 .bashrc 만들어서 해주면 되고 아니면 /opt/etc/profile 에 설정해 주면 되는데 .bashrc의 경우 홈폴더가 /tmp에 있다보니 껐다키면 사라진다. 하여, 나같은 경우엔 /opt/etc/.bashrc를 만들어주고 profile에 아래와 같이 설정하였다. # bash .bashrc[ ! -f /tmp/home/root/.bashrc ] && ln -s /tmp/mnt/System/entware-ng.arm/etc/.bashrc /tmp/home/root/.bashrc
