-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File/Directory paths with brackets ('[', ']') do not work #40
Comments
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). |
Joly0
added a commit
to Joly0/Run-in-Sandbox
that referenced
this issue
Jul 14, 2023
- Finally fixed running intunewin with serviceUI and psexec - Fixed damienvanrobaeys#40 ### Changed - Changed formatting to OTBS using "Invoke-Formatter" cmdlet in "Script-Analyzer" module (On-going discussion damienvanrobaeys#44) and applied some powershell best-pratices
Joly0
added a commit
to Joly0/Run-in-Sandbox
that referenced
this issue
Jul 14, 2023
- Finally fixed running intunewin with serviceUI and psexec - Fixed damienvanrobaeys#40 ### Changed - Changed formatting to OTBS using "Invoke-Formatter" cmdlet in "Script-Analyzer" module (On-going discussion damienvanrobaeys#44) and applied some powershell best-pratices
Joly0
added a commit
to Joly0/Run-in-Sandbox
that referenced
this issue
Jul 14, 2023
- Finally fixed running intunewin with serviceUI and psexec - Fixed damienvanrobaeys#40 - Fixed damienvanrobaeys#41 ### Changed - Changed formatting to OTBS using "Invoke-Formatter" cmdlet in "Script-Analyzer" module (On-going discussion damienvanrobaeys#44) and applied some powershell best-pratices
Joly0
added a commit
to Joly0/Run-in-Sandbox
that referenced
this issue
Aug 26, 2024
- Finally fixed running intunewin with serviceUI and psexec - Fixed damienvanrobaeys#40 - Fixed damienvanrobaeys#41 ### Changed - Changed formatting to OTBS using "Invoke-Formatter" cmdlet in "Script-Analyzer" module (On-going discussion damienvanrobaeys#44) and applied some powershell best-pratices
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)
The text was updated successfully, but these errors were encountered: