Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Remove folders in a directory but keep the three latest (creation date)

$
0
0

Hi Rob!

Seems to work the way i want it but i dont understand some of the variables (($i=0;$i -lt ($files.Count -2);$i++))
Gonna try to look it up.

Many thanks :)


Viewing all articles
Browse latest Browse all 13067

Trending Articles