5 lines
135 B
PowerShell
5 lines
135 B
PowerShell
|
function Get-ShellSafePath { param([string]$LiteralPath)
|
||
|
"`"$([Management.Automation.WildcardPattern]::Escape($LiteralPath))`""
|
||
|
}
|
||
|
|