@ESCLINE
— Returns a line from a
file, escapified.
Syntax:
%@ESCLINE[
filename,
n]
filename | the file to read from |
n | the line to read; 0-based |
Return line n from the file, with special characters escapified.
Line numbers begin at 0. Returns **EOF**
for lines past the end of the file.
You can use the CESC_CHARS
and CESC_FLAGS
environment
variables to tweak the way text is escapified.
This function calls @LINE
internally.
for /l %i in ( 0, 1, 20 ) echo %i: %@escline[cesc.html,%i]