Skip to content

Latest commit

 

History

History

With-path-separator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Join-Path with path separator

Use case: some applications require trailing path separators for input directory paths.

Join-Path with \ or / as the second argument may be used in order to ensure this requirement in Windows PowerShell. In PowerShell Core results may be unexpected.

The script Test-1.ps1 shows some cases with differences.