<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; VBS  WshShell.SpecialFolders]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=7431</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=7431&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «VBS  WshShell.SpecialFolders».]]></description>
		<lastBuildDate>Tue, 07 Aug 2012 08:09:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: VBS  WshShell.SpecialFolders]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=62448#p62448</link>
			<description><![CDATA[<p>Каким статьям?</p>]]></description>
			<author><![CDATA[null@example.com (alexii)]]></author>
			<pubDate>Tue, 07 Aug 2012 08:09:04 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=62448#p62448</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS  WshShell.SpecialFolders]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=62445#p62445</link>
			<description><![CDATA[<p>Вот и верь после этого статьям в интернете...</p>]]></description>
			<author><![CDATA[null@example.com (inock)]]></author>
			<pubDate>Tue, 07 Aug 2012 07:39:48 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=62445#p62445</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS  WshShell.SpecialFolders]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=62443#p62443</link>
			<description><![CDATA[<div class="quotebox"><cite>inock пишет:</cite><blockquote><p>... не возвращается путь к Program Files...</p></blockquote></div><p>В коллекции <span style="color: blue">WshSpecialFolders</span> нет такого объекта.<br />Описание в MSDN: <a href="http://msdn.microsoft.com/ru-ru/library/0ea7b5xe.aspx">SpecialFolders Property</a></p>]]></description>
			<author><![CDATA[null@example.com (Dmitrii)]]></author>
			<pubDate>Tue, 07 Aug 2012 05:56:33 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=62443#p62443</guid>
		</item>
		<item>
			<title><![CDATA[VBS  WshShell.SpecialFolders]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=62441#p62441</link>
			<description><![CDATA[<p>Здравствуйте.</p><p>А кто-нибудь знает, почему WshShell.SpecialFolders может возвращать NULL для некоторых значений? В данном примере, например, не возвращается путь к Program Files. Был момент, когда не возвращается путь к Destop... Понятно, что эти папки в действительности присутствуют <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p><p>Текст скрипта:<br /></p><div class="codebox"><pre><code>Set WshShell = WScript.CreateObject(&quot;WScript.Shell&quot;)

DesktopPath = WshShell.SpecialFolders(&quot;Desktop&quot;)
StartupPath = WshShell.SpecialFolders(&quot;Startup&quot;)
ProgramPath = WshShell.SpecialFolders(&quot;ProgramFiles&quot;)

Wscript.Echo DesktopPath
Wscript.Echo StartupPath
Wscript.Echo ProgramPath</code></pre></div><p>Вывод скрипта:</p><div class="codebox"><pre><code>C:\TEMP&gt;ver

Microsoft Windows [Version 6.1.7601]

C:\TEMP&gt;cscript test2.vbs
Сервер сценариев Windows (Microsoft R) версия 5.8
c Корпорация Майкрософт (Microsoft Corp.), 1996-2001. Все права защищены.

C:\Users\imitichev\Desktop
C:\Users\imitichev\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

C:\TEMP&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (inock)]]></author>
			<pubDate>Tue, 07 Aug 2012 04:37:11 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=62441#p62441</guid>
		</item>
	</channel>
</rss>
