<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://powershell.com/cs/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>PowerShell for Windows</title><link>http://powershell.com/cs/forums/200.aspx</link><description>Moderated by PowerShell MVP &lt;a href="http://powershell.com/cs/content/experts.aspx#tobias-weltner"&gt;Dr. Tobias Weltner&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>Re: Should PS be able to run a VBscript this simply?</title><link>http://powershell.com/cs/forums/thread/13627.aspx</link><pubDate>Wed, 14 Dec 2011 04:38:27 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:13627</guid><dc:creator>Archdeacon</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/13627.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=200&amp;PostID=13627</wfw:commentRss><description>&lt;p&gt;&lt;img src="http://powershell.com/cs/emoticons/emotion-59.gif" alt="Paradise" /&gt;The problem has been solved by removing the .VBS tag from the $env:PathExt collection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Should PS be able to run a VBscript this simply?</title><link>http://powershell.com/cs/forums/thread/13559.aspx</link><pubDate>Thu, 08 Dec 2011 22:45:53 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:13559</guid><dc:creator>Tobias</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/13559.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=200&amp;PostID=13559</wfw:commentRss><description>&lt;p&gt;If you do not move your VBScripts, and if they have colliding names, then the same problem exists in a regular cmd session as well. I would move the VBScripts to some private folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Should PS be able to run a VBscript this simply?</title><link>http://powershell.com/cs/forums/thread/13478.aspx</link><pubDate>Mon, 05 Dec 2011 13:54:02 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:13478</guid><dc:creator>RSiddaway</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/13478.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=200&amp;PostID=13478</wfw:commentRss><description>&lt;p&gt;If you don&amp;#39;t need VBScript you could disable the file association.&amp;nbsp; Also if you can run them by just using the script name it suggests that &lt;/p&gt;
&lt;p&gt;cscript //H:CScript&lt;/p&gt;
&lt;p&gt;has been run to make the command line the default&lt;/p&gt;
&lt;p&gt;if you run &lt;/p&gt;
&lt;p&gt;cscript //H:WScript&lt;/p&gt;
&lt;p&gt;the defaults are reset which means you will use the graphical interface which will slow things down&lt;/p&gt;
&lt;p&gt;best thing is to get theose scripts off the execution path&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Should PS be able to run a VBscript this simply?</title><link>http://powershell.com/cs/forums/thread/13477.aspx</link><pubDate>Mon, 05 Dec 2011 12:27:34 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:13477</guid><dc:creator>Archdeacon</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/13477.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=200&amp;PostID=13477</wfw:commentRss><description>&lt;p&gt;&lt;img src="http://powershell.com/cs/emoticons/emotion-59.gif" alt="Paradise" /&gt;I see, but this runs by just typing &amp;#39;default&amp;#39;&amp;nbsp; (without the quotes). I have a bunch of VBS scripts with PS accessible names, like format, args, param (all .vbs) so these will be triggered if I do not move them. Seems very risky to me! Thanks, anyway.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Should PS be able to run a VBscript this simply?</title><link>http://powershell.com/cs/forums/thread/13472.aspx</link><pubDate>Mon, 05 Dec 2011 09:14:14 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:13472</guid><dc:creator>Tobias</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/13472.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=200&amp;PostID=13472</wfw:commentRss><description>&lt;p&gt;PS can only launch files this simple when they are placed in one of the folders listed in $env:path. In all other places, a relative or absolute path name is required, i.e.&lt;/p&gt;
&lt;p&gt;.\default.vbs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Should PS be able to run a VBscript this simply?</title><link>http://powershell.com/cs/forums/thread/13471.aspx</link><pubDate>Mon, 05 Dec 2011 08:23:07 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:13471</guid><dc:creator>Archdeacon</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/13471.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=200&amp;PostID=13471</wfw:commentRss><description>&lt;p&gt;&lt;img src="http://powershell.com/cs/emoticons/emotion-59.gif" alt="Paradise" /&gt;How do I prevent PowerShell from running a named vbs Script? For example, I have a script&lt;br /&gt;called &amp;#39;Default.vbs&amp;#39;, admittedly in the current $pwd directory, so that whenever I type &amp;#39;default&amp;#39; in the PS console that script runs. Is there a way to stop this, as a simple &amp;#39;typo&amp;#39; can act as a trigger?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>