# 删除前2行复制代码
- Get-Content a.txt | Select-Object -Skip 1 | Set-Content b.txt
# 删除前3行复制代码
- Get-Content a.txt | Select-Object -Skip 2 | Set-Content b.txt
复制代码
- Get-Content a.txt | Select-Object -Skip 3 | Set-Content b.txt
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |