<?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=6853&amp;type=atom" />
	<updated>2012-03-15T14:53:20Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=6853</id>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Определение количества подпапок в папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=57877#p57877" />
			<content type="html"><![CDATA[<p><img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> Ага, сейчас понял что вы имели ввиду, <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> теперь уже она раскрыта в названии.</p>]]></content>
			<author>
				<name><![CDATA[Lucky]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25698</uri>
			</author>
			<updated>2012-03-15T14:53:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=57877#p57877</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Определение количества подпапок в папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=57170#p57170" />
			<content type="html"><![CDATA[<p>Я имею в виду пункт Правил <a href="http://forum.script-coding.com/rules.html#4.10.">§4.10</a> <em>[выделение моё]</em>:<br /></p><div class="quotebox"><blockquote><p>Если Вы задаёте конкретный вопрос по программированию, <span style="color: red"><strong>всегда указывайте свою конечную цель, если есть такая возможность</strong></span>. Помните, что <span style="color: red"><strong>Ваша проблема может не нуждаться в решении</strong></span>. Не заставляйте отвечающих заниматься изобретением велосипедов, которые Вы выкинете через полчаса, когда поймёте суть своей проблемы до конца.</p></blockquote></div><p>В Вашем конкретном случае Вам нужно было в теле поста <em>сразу озвучить конечную цель</em> — определение количества вложенных папок. Заголовок же темы при этом вполне мог быть и тем, который Вы написали изначально.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2012-02-23T20:42:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=57170#p57170</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Определение количества подпапок в папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=57168#p57168" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexii пишет:</cite><blockquote><p>Вы неправильно задали вопрос, коллега <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" />. Не забывайте упоминать, при озвучивании проблемы, зачем сие нужно.</p></blockquote></div><p>Вы имеете ввиду не правильно назвал тему? - Прошу прощения, не подумал на скорую руку из-за, так сказать, банальности вопроса...</p><p>P.S: Всё, переименовал. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Lucky]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25698</uri>
			</author>
			<updated>2012-02-23T18:24:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=57168#p57168</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Определение количества подпапок в папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=57154#p57154" />
			<content type="html"><![CDATA[<p>Вы неправильно задали вопрос, коллега <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" />. Не забывайте упоминать, при озвучивании проблемы, зачем сие нужно.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2012-02-23T08:16:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=57154#p57154</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Определение количества подпапок в папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=57153#p57153" />
			<content type="html"><![CDATA[<p>Спасибо! <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> <br /></p><div class="quotebox"><cite>alexii пишет:</cite><blockquote><p>А чем Вам не нравится «For Each …»?</p></blockquote></div><p>Числом строк и операций. Мне просто необходимо знать количество папок и ничего больше.</p>]]></content>
			<author>
				<name><![CDATA[Lucky]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25698</uri>
			</author>
			<updated>2012-02-23T07:06:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=57153#p57153</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Определение количества подпапок в папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=57152#p57152" />
			<content type="html"><![CDATA[<p>Функция UBound() применима к массивам и не применима к коллекциям, коей и является возвращаемое свойством .SubFolders значение.</p><p>А чем Вам не нравится «For Each …»?</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2012-02-23T07:01:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=57152#p57152</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Определение количества подпапок в папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=57151#p57151" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>msgbox subfols.count</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Евген]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25253</uri>
			</author>
			<updated>2012-02-23T06:53:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=57151#p57151</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VBS: Определение количества подпапок в папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=57150#p57150" />
			<content type="html"><![CDATA[<p>Добрый день, земляне! <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> Не могу понять в чём фатальность в банальном коде и как сие решить, не прибегая к <span style="color: blue">for each <em>fol</em> in <em>subfols</em></span>:<br /></p><div class="codebox"><pre><code>
set FSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)
set subfols=FSO.Getfolder(&quot;D:\folder0&quot;).subfolders
msgbox Ubound(subfols)</code></pre></div><p>---------------------------<br />Windows Script Host<br />---------------------------<br />Строка:	3<br />Символ:	1<br />Ошибка:	Недопустимое число аргументов или присвоение значения свойства<br />Код:	800A01C2<br />Источник: 	Ошибка выполнения Microsoft VBScript<br />---------------------------<br />ОК&nbsp; &nbsp;<br />---------------------------</p>]]></content>
			<author>
				<name><![CDATA[Lucky]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25698</uri>
			</author>
			<updated>2012-02-23T06:19:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=57150#p57150</id>
		</entry>
</feed>
