Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

$FILEPATH = C:\tmp\tes*.txt
$FILEPATH = Get-ChildItem $FILEPATH | % { $_.FullName }
$FilePathWithQuotes = '"{0}"' -f $FilePath

The four types of Wildcard:

The * wildcard will match zero or more characters

The ? wildcard will match a single character

[m-n] Match a range of characters from m to n, so [f-m]ake will match fake/jake/make

[abc] Match a set of characters a,b,c.., so [fm]ake will match fake/make

  • No labels