<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>LiteralPath on MXI</title><link>https://mxii.eu.org/tags/literalpath/</link><description>Recent content in LiteralPath on MXI</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 08 Jan 2018 02:15:11 +0300</lastBuildDate><atom:link href="https://mxii.eu.org/tags/literalpath/index.xml" rel="self" type="application/rss+xml"/><item><title>PowerShell, square brackets and apostrophes</title><link>https://mxii.eu.org/2018/01/08/powershell-square-brackets-and-apostrophes/</link><pubDate>Mon, 08 Jan 2018 02:15:11 +0300</pubDate><guid>https://mxii.eu.org/2018/01/08/powershell-square-brackets-and-apostrophes/</guid><description>&lt;p>This is a follow-up post to the one about &lt;a href="https://mxii.eu.org/2017/03/19/powershell-explorer-square-brackets-and-unicode-paths/">square brackets and Unicode&lt;/a> in PowerShell.&lt;/p>
&lt;p>I discovered recently that there is another PITA character that interferes with my workaround &amp;mdash; it&amp;rsquo;s a single quote, or apostrophe.&lt;/p>
&lt;p>It&amp;rsquo;s fine to start PowerShell inside a folder with an apostrophe in its name, but we have to escape it when using inside Powershell commands or passing into PowerShell from anywhere else.&lt;/p>
&lt;p>Below are my experiments to find the best way to open PowerShell in any folder&amp;hellip; if ever possible.&lt;/p></description></item><item><title>PowerShell, Explorer, square brackets and Unicode paths</title><link>https://mxii.eu.org/2017/03/19/powershell-explorer-square-brackets-and-unicode-paths/</link><pubDate>Sun, 19 Mar 2017 00:55:11 +0300</pubDate><guid>https://mxii.eu.org/2017/03/19/powershell-explorer-square-brackets-and-unicode-paths/</guid><description>&lt;p>Let&amp;rsquo;s make a folder &lt;code>C:\[test]&lt;/code> and try to open PowerShell there from Explorer (using Ribbon or context menu).&lt;/p>
&lt;p>&lt;img src="https://mxii.eu.org/post/2017-03-19-powershell-square-brackets/test-doesnt-exist.png" alt="set-location: Cannot find path 'C:[test]' because it does not exist. At line:1 char:1" />&lt;/p>
&lt;p>Oops!&lt;/p>
&lt;p>Let&amp;rsquo;s see what we can do with this.&lt;/p></description></item></channel></rss>