我想知道如何使用Windows批处理文件遍历文本文件中的每一行,并连续处理每行文本.
有没有办法在Windows命令行上模拟*nix tail命令?我有一个文件,我想要一种方法来剪掉前n行文本.例如:
D:\>type file.txt
line one
line two
line three
D:\>*[call to tail]* > result.txt
D:\>type result.txt
line two
line three
Run Code Online (Sandbox Code Playgroud)