📅  最后修改于: 2022-03-11 14:55:08.285000             🧑  作者: Mango
# in powershell
$lines = 0
$fileReader = New-Object IO.StreamReader 'NAME_OF_YOUR_CSV.csv'
while ($fileReader.ReadLine() -ne $null)
{
$lines++
}
$fileReader.close()
echo $lines