리 셋 문자(,)사용
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
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
셸 의 '2 > & 1' 의 의미file 파일 에 출력 합 니 다.2 > & 1 은 표준 오 류 를 표준 출력 으로 바 꾸 는 것 입 니 다. 2 > 1 은 무엇 을 의미 하 는 지, 2 와 > 는 오 류 를 결합 하여 방향 을 바 꾸 는 것 을 ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.