25 March, 2010
0 Comments
1 category
If you want to combine the physical path C:\ with a relative path “Temp” in PowerShell, Use Join-Path
PS C:\Users\rLisdonk> Join-Path "C:\" "\Temp"
C:\Temp
PS C:\Users\rLisdonk> Join-Path "C:\" "Temp"
C:\Temp
PS C:\Users\rLisdonk> Join-Path "C:" "Temp"
C:\Temp
Tags: PowerShell
Category: Uncategorized