Quantcast
Browsing all 2 articles
Browse latest View live

Answer by Esperento57 for Merging counting unique paths in powershell

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) {...

View Article


Merging counting unique paths in powershell

I am trying to figure out a way to merge all the parents directory paths into on e path, so imagine I have this data in a txt file: \BANANA\APPLE\BERRIES\GRAPES\ \BANANA\APPLE\BERRIES\...

View Article

Browsing all 2 articles
Browse latest View live