Skip to content

File System Tips and Tricks

nexssp edited this page Feb 7, 2020 · 1 revision

Check if file is abosolute

if (![System.IO.Path]::IsPathRooted($sourceFile)) {
     $sourceFile = "$($NexssStdout.cwd)/$sourceFile"
}