본문 바로가기 메뉴 바로가기

땅진

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

땅진

검색하기 폼
  • 분류 전체보기 (42)
  • 방명록

2018/01/25 (2)
batch 찾았던 내용들..

정규식 사용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 문자^

카테고리 없음 2018. 1. 25. 21:01
batch script |(pipe line) 관련된 글

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)가 안나오는지 어떻게 해결해야 하는진데 맨 위 링크가 근본적인 문제에 대해서 설명 해줌.

카테고리 없음 2018. 1. 25. 20:42
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • virtualbox-iso
  • Packer
  • vnc
more
«   2018/01   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바