Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
9
Task/Read-entire-file/Batch-File/read-entire-file.bat
Normal file
9
Task/Read-entire-file/Batch-File/read-entire-file.bat
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
@echo off
|
||||
setlocal enableextensions enabledelayedexpansion
|
||||
(set LF=^
|
||||
|
||||
)
|
||||
for /f %%a in ('copy /Z "%~dpf0" nul') do set "CR=%%a"
|
||||
::don't ignore blank lines
|
||||
set buffer=
|
||||
for /f tokens^=1*^ delims^=]^ eol^= %%a in ('type %1 ^| find /n /v ""') do set "buffer=!buffer!%%b!CR!!LF!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue