<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBS: Открыть папку, расположенную возле скрипта]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6813&amp;type=atom" />
	<updated>2012-02-13T10:01:40Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=6813</id>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Открыть папку, расположенную возле скрипта]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=56741#p56741" />
			<content type="html"><![CDATA[<p>Спасибо! Оказалось, без пробела пробовал.</p>]]></content>
			<author>
				<name><![CDATA[DD]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25263</uri>
			</author>
			<updated>2012-02-13T10:01:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=56741#p56741</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Открыть папку, расположенную возле скрипта]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=56736#p56736" />
			<content type="html"><![CDATA[<p>Думаю так:<br /></p><div class="codebox"><pre><code>
WshShell.Run &quot;explorer.exe &quot; &amp; GetParentDir &amp; &quot;\имя_папки&quot;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[BeS Yara]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25643</uri>
			</author>
			<updated>2012-02-13T07:45:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=56736#p56736</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VBS: Открыть папку, расположенную возле скрипта]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=56733#p56733" />
			<content type="html"><![CDATA[<p>Пример ниже откроет &quot;test.txt&quot; из каталога, в котором находится.</p><div class="codebox"><pre><code>
Set WshShell = WScript.CreateObject(&quot;WScript.Shell&quot;)
sPath = GetParentDir(WScript.ScriptFullName)

Function GetParentDir(sPath)
   GetParentDir = Left(sPath, InStrRev(sPath, &quot;\&quot;, -1, 1)-1)
   WshShell.Run GetParentDir &amp; &quot;\test.txt&quot;
End Function</code></pre></div><p>Имеется ли что-то похожее для открытия папки?</p>]]></content>
			<author>
				<name><![CDATA[DD]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25263</uri>
			</author>
			<updated>2012-02-13T07:38:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=56733#p56733</id>
		</entry>
</feed>
