Quantcast
Channel: Merging counting unique paths in powershell - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by Esperento57 for Merging counting unique paths in powershell

$
0
0

like this?

$Content=get-content "C:\temp\COUNT_DIR.txt"
$Content | %{

$Current=$_
$Founded= $Content | where {$_ -ne $Current -and $_.contains($Current)} | select -First 1

if($Founded -eq $null)
{
$Current
}

}

Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>