“dos tetapkan carriage kembali ke variabel” Kode Jawaban

dos tetapkan carriage kembali ke variabel

(SET LF=^
%=this line is empty=%
)
RF Engineer

dos tetapkan carriage kembali ke variabel

setlocal EnableDelayedExpansion
set LF=^


rem TWO empty lines are required
echo This text!LF!uses two lines
RF Engineer

dos tetapkan carriage kembali ke variabel

set myLinefeed=^<LF1>
<LF2>
<LF3>
RF Engineer

dos tetapkan carriage kembali ke variabel

if "!LF!" NEQ "!LF:~0,1!" echo Error "Linefeed definition is defect, probably multiple invisble whitespaces at the line end in the definition of LF"

FOR /F "delims=" %%n in ("!LF!") do (
  echo Error "Linefeed definition is defect, probably invisble whitespaces at the line end in the definition of LF"
)
RF Engineer

dos tetapkan carriage kembali ke variabel

set LF=^


rem TWO empty lines are required
echo This text^%LF%%LF%uses two lines
echo This also^

uses two lines
RF Engineer

Jawaban yang mirip dengan “dos tetapkan carriage kembali ke variabel”

Pertanyaan yang mirip dengan “dos tetapkan carriage kembali ke variabel”

Lebih banyak jawaban terkait untuk “dos tetapkan carriage kembali ke variabel” di Basic

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya