Run-in-Sandbox
Run-in-Sandbox copied to clipboard
File/Directory paths with brackets ('[', ']') do not work
Any file/directory paths that contain brackets (ex: "c:\temp[0]") do not work with right context menu items. For example, say I have the following path:
C:\temp[0]
If I right click that directory and click the item "Share this folder in a Sandbox", it will not work. I suspect this can be easily fixed by properly escaping the path in powershell. The following will likely work:
[WildcardPattern]::Escape($literalPath)
Hm, interesting. I have never used or seen a path with square brackets (atleast not that i remember ever seen a path with square brackets). I'll look into it. Should be as simple as putting the path in ' '