相对路径似乎不适用于Powershell include和PSScriptRoot

时间:2017-09-27 23:09:56

标签: powershell

我试图在Powershell中使用“..”来包含父相对路径

. "$PSScriptRoot\..\test.ps1"

它似乎不适用于具有空格的路径。有没有可行的语法?

0 个答案:

没有答案