This post is by a banned member (beam) - Unhide
This post is by a banned member (FastDelivery) - Unhide
OP 27 November, 2019 - 09:13 PM
Reply
This post is by a banned member (hayaka) - Unhide
05 December, 2020 - 07:34 PM
Reply
(25 October, 2019 - 05:03 PM)foxegado Wrote: Show MorePowerShell yo.
Code:
$InputPath = "C:\temp\ComboWCapture.txt"
$OutputPath = "C:\temp\ComboNoCapture.txt"
$sw = New-Object System.IO.StreamWriter $OutputPath
$cnt = 0
foreach ($line in [System.IO.File]::ReadLines($InputPath))
{
$cnt++
if($cnt % 1000 -eq 0) #only show progress every 1000...more frequent progress updates will slow things down
{
Write-Progress -Activity "Processing File $InputPath" -Status "Current Line: $cnt"
}
$splitline = $line.Split('|')
$sw.WriteLine(([string]$splitline[0]).Trim())
}
$sw.Close()
Thank you
you're really a great person
This post is by a banned member (kinar15) - Unhide
24 July, 2021 - 11:52 AM
Reply
This post is by a banned member (Brilleafro1) - Unhide
26 July, 2022 - 02:58 AM
Reply
This post is by a banned member (loooollz) - Unhide
22 May, 2023 - 07:10 PM
Reply
This post is by a banned member (Uwil) - Unhide
01 September, 2023 - 03:46 AM
Reply
(24 October, 2019 - 10:38 PM)Lucian Wrote: Show Moretitle
try ths
This post is by a banned member (michel01) - Unhide
27 September, 2023 - 05:56 PM
Reply