리 셋 문자(,)사용

(1)、파일 복사:
       type file1 〉file2 ;생기다 file2 문건
       type file1 〉〉file2 ;...에 있다 file2 파일 후 추가
      (2)、파일 작성:
       echo numLine = 10 〉starts.bas
       echo For i = 1 To numLine 〉〉starts.bas
       echo theStr = ""〉〉starts.bas
       echo For j = 1 To 2 * i - 1 〉〉starts.bas
       echo theStr = theStr + "*"〉〉starts.bas
       echo Next 〉〉starts.bas
       echo ? Space(numLine - i) + theStr 〉〉starts.bas
       echo Next 〉〉starts.bas
      (3)프린터 로 출력:
       copy starts.bas 〉prn
       혹시 copy starts.bas 〉lpt1

좋은 웹페이지 즐겨찾기