Prerequisites
Steps to reproduce
On Windows: get-childitem \\?\c:`
Expected behavior
Since `?` is escaped by the backtick, no globbing should occur
Actual behavior
Globbing occurs because the path has been unescaped somewhere removing the backtick. You need to escape it twice: `get-childitem \\``?\c:\` to get it to work correctly.
Error details
No response
Environment data
Name Value
---- -----
PSVersion 7.4.0-preview.3
PSEdition Core
GitCommitId 7.4.0-preview.3
OS Microsoft Windows 10.0.25324
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visuals
No response
Prerequisites
Steps to reproduce
On Windows:
get-childitem \\?\c:`Expected behavior
Since `?` is escaped by the backtick, no globbing should occurActual behavior
Globbing occurs because the path has been unescaped somewhere removing the backtick. You need to escape it twice: `get-childitem \\``?\c:\` to get it to work correctly.Error details
No response
Environment data
Visuals
No response