<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>PowerTip: Run a PowerShell Script with Space in the Path</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/08/07/powertip-run-a-powershell-script-with-space-in-the-path.aspx</link><description>Learn how to run a script with a space in the path.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: PowerTip: Run a PowerShell Script with Space in the Path</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/08/07/powertip-run-a-powershell-script-with-space-in-the-path.aspx#3514399</link><pubDate>Tue, 14 Aug 2012 21:18:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3514399</guid><dc:creator>IamMred</dc:creator><description>&lt;p&gt;@Angel yes, the space disappeared, and that was the entire point of the tip :-) Thanks for the catch, and I added the space back in to the command. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3514399" width="1" height="1"&gt;</description></item><item><title>re: PowerTip: Run a PowerShell Script with Space in the Path</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/08/07/powertip-run-a-powershell-script-with-space-in-the-path.aspx#3513496</link><pubDate>Thu, 09 Aug 2012 20:31:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3513496</guid><dc:creator>Angel</dc:creator><description>&lt;p&gt;And then of course I make my own typo:&lt;/p&gt;
&lt;p&gt;PS &amp;gt; c:\my` folder\myscript.ps1&lt;/p&gt;
&lt;p&gt;Apostrophe is not a grave.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3513496" width="1" height="1"&gt;</description></item><item><title>re: PowerTip: Run a PowerShell Script with Space in the Path</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/08/07/powertip-run-a-powershell-script-with-space-in-the-path.aspx#3513495</link><pubDate>Thu, 09 Aug 2012 20:30:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3513495</guid><dc:creator>Angel</dc:creator><description>&lt;p&gt;I think you&amp;#39;re missing a space in there:&lt;/p&gt;
&lt;p&gt;Answer 1: PS &amp;gt; c:\my`folder\myscript.ps1&lt;/p&gt;
&lt;p&gt;produces an error on my machine. but:&lt;/p&gt;
&lt;p&gt;PS &amp;gt; c:\my&amp;#39; folder\myscript.ps1&lt;/p&gt;
&lt;p&gt;works fine. Need to escape the space so PoSh doesn&amp;#39;t interpret it as a separate argument or parameter. Unless I&amp;#39;m missing something to make the first one work?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3513495" width="1" height="1"&gt;</description></item><item><title>re: PowerTip: Run a PowerShell Script with Space in the Path</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/08/07/powertip-run-a-powershell-script-with-space-in-the-path.aspx#3513181</link><pubDate>Wed, 08 Aug 2012 16:23:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3513181</guid><dc:creator>IamMred</dc:creator><description>&lt;p&gt;@Klaus Thanks for your kind words. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3513181" width="1" height="1"&gt;</description></item><item><title>re: PowerTip: Run a PowerShell Script with Space in the Path</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/08/07/powertip-run-a-powershell-script-with-space-in-the-path.aspx#3513180</link><pubDate>Wed, 08 Aug 2012 16:23:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3513180</guid><dc:creator>IamMred</dc:creator><description>&lt;p&gt;@Hieronymus Thank you I hope you find them beneficial. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3513180" width="1" height="1"&gt;</description></item><item><title>re: PowerTip: Run a PowerShell Script with Space in the Path</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/08/07/powertip-run-a-powershell-script-with-space-in-the-path.aspx#3513078</link><pubDate>Wed, 08 Aug 2012 07:13:13 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3513078</guid><dc:creator>K_Schulte</dc:creator><description>&lt;p&gt;@Hieronymus: Me too!&lt;/p&gt;
&lt;p&gt;Short, precise and easy to remmeber!&lt;/p&gt;
&lt;p&gt;Klaus.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3513078" width="1" height="1"&gt;</description></item><item><title>re: PowerTip: Run a PowerShell Script with Space in the Path</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/08/07/powertip-run-a-powershell-script-with-space-in-the-path.aspx#3513042</link><pubDate>Wed, 08 Aug 2012 01:19:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3513042</guid><dc:creator>Hieronymus Fortesque Lickspittle</dc:creator><description>&lt;p&gt;I love the short PowerTips, thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3513042" width="1" height="1"&gt;</description></item></channel></rss>