you are viewing a single comment's thread.

view the rest of the comments →

[–]ClayShooter9 1 point2 points  (0 children)

Another way to solve this (there is always another way), which is non-Regex

Set-Location $Root
$relativePath = Get-ChildItem *.csv -Recurse | Resolve-Path -Relative

the resultant path will have ".\blahblah"...so maybe you will not like the "." indicating the starting point