<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBS/WSH: Определить полный путь к расшареной папке]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11058&amp;type=atom" />
	<updated>2015-12-27T08:02:49Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11058</id>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99966#p99966" />
			<content type="html"><![CDATA[<p><strong>Flasher</strong><br />К сожалению имя и пароль пользователя нужного мне компьютера не известны.</p>]]></content>
			<author>
				<name><![CDATA[godvin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33475</uri>
			</author>
			<updated>2015-12-27T08:02:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99966#p99966</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99827#p99827" />
			<content type="html"><![CDATA[<p><strong>godvin</strong><br />Попробуйте поиграться с этой строкой на основании <a href="http://scriptcoding.ru/2013/04/12/swbemlocator/">данной информации</a>.</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2015-12-21T00:14:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99827#p99827</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99745#p99745" />
			<content type="html"><![CDATA[<p><strong>Flasher</strong><br />Ошибка в первом символе 4-й строки - Сервер RPC недоступен.</p>]]></content>
			<author>
				<name><![CDATA[godvin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33475</uri>
			</author>
			<updated>2015-12-18T13:18:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99745#p99745</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99743#p99743" />
			<content type="html"><![CDATA[<p><strong>godvin</strong><br />ОК. Хотел убедиться, что всё сходится.<br />Вернёмся к <a href="http://forum.script-coding.com/viewtopic.php?pid=99523#p99523">скрипту</a>, дабавив имя и пароль юзера.</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2015-12-18T10:16:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99743#p99743</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99742#p99742" />
			<content type="html"><![CDATA[<p><strong>Flasher</strong><br />Код вернул список машин в сетевом окружении в виде: <br />Andrey		|		\\Andrey<br />Igor			|		\\Igor<br />и т.д.</p>]]></content>
			<author>
				<name><![CDATA[godvin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33475</uri>
			</author>
			<updated>2015-12-18T09:35:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99742#p99742</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99727#p99727" />
			<content type="html"><![CDATA[<p><strong>godvin</strong><br />Так, не в ту степь. Вот этот точно должен список машин показать:<br /></p><div class="codebox"><pre><code>For Each N In CreateObject(&quot;Shell.Application&quot;).NameSpace(&amp;H12).Items
	If N.IsFolder Then S = S &amp; N.Name &amp; vbTab &amp; &quot;|&quot; &amp; vbTab &amp; N.Path &amp; vbCr
Next : MsgBox S</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2015-12-17T20:35:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99727#p99727</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99713#p99713" />
			<content type="html"><![CDATA[<p><strong>Flasher</strong><br />Рабочая группа стоит. А служба сетевого входа в систему стоит в ручном режиме - при попытке запуска выдает что была запущена и остановлена так как не используется. Зависящие и смежные службы включены - робачая станция, сервер, модуль поддержки netbios через tcp/ip.</p>]]></content>
			<author>
				<name><![CDATA[godvin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33475</uri>
			</author>
			<updated>2015-12-17T11:07:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99713#p99713</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99704#p99704" />
			<content type="html"><![CDATA[<p><strong>godvin</strong><br />Должна быть запущена одноимённая служба (она же netlogon в lsass.exe). В <em>sysdm.cpl</em> должно быть Рабочая группа: OSNOVA или Домен: ... при членстве в домене.</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2015-12-17T06:11:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99704#p99704</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99703#p99703" />
			<content type="html"><![CDATA[<p><strong>Flasher</strong><br />А как можно проверить?</p>]]></content>
			<author>
				<name><![CDATA[godvin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33475</uri>
			</author>
			<updated>2015-12-17T04:47:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99703#p99703</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99700#p99700" />
			<content type="html"><![CDATA[<p><strong>godvin</strong><br />А вход точно сетевой?</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2015-12-16T20:07:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99700#p99700</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99696#p99696" />
			<content type="html"><![CDATA[<p><strong>Flasher</strong><br />Никакой реакции после запуска скрипта не последовало - ни ошибок, ни сообщений.</p>]]></content>
			<author>
				<name><![CDATA[godvin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33475</uri>
			</author>
			<updated>2015-12-16T10:11:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99696#p99696</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99693#p99693" />
			<content type="html"><![CDATA[<p><strong>godvin</strong>, <strong>madjahed</strong>, этот скрипт что вернёт?<br /></p><div class="codebox"><pre><code>Comp = &quot;Andrey&quot;  &#039; имя др. ПК
For Each Item In GetObject(&quot;winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2&quot;)._
ExecQuery(&quot;Select * from Win32_NetworkLoginProfile&quot;)
   Name = Item.Name
   If InStr(Name, Comp) Then
      MsgBox &quot;Caption: &quot; &amp; Item.Caption &amp; vbCr &amp;_
      &quot;Name: &quot; &amp; Name &amp; vbCr &amp;_
      &quot;Full Name: &quot; &amp; Item.FullName &amp; vbCr &amp;_
      &quot;Home Directory Drive: &quot; &amp; Item.HomeDirectoryDrive &amp; vbCr &amp;_
      &quot;Workstations: &quot; &amp; Item.Workstations
      Exit For
   End If
Next</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2015-12-16T06:30:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99693#p99693</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99629#p99629" />
			<content type="html"><![CDATA[<p><strong>Flasher</strong><br />Тестировал локально на своем компе, вместо имени удаленного пк подставлял точку и на другом компе где точно знал расположение сетевой папки.<br />Полный путь к сетевой папке на другом пк так и не удалось получить.</p>]]></content>
			<author>
				<name><![CDATA[madjahed]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29005</uri>
			</author>
			<updated>2015-12-12T04:54:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99629#p99629</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99625#p99625" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>madjahed пишет:</cite><blockquote><p>Рузультаты идентичны как и у пользователя Godvin.</p></blockquote></div><p>Судя по нижеследующему тексту, результаты таки отличаются. Тут на лицо положительный результат с копированием. Имя машины же не своё подставляли?<br /></p><div class="quotebox"><cite>madjahed пишет:</cite><blockquote><p>но также не обрабатывает вложенные папки</p></blockquote></div><p>Сомневаюсь, что есть мякий способ рекурсивно просматривать директории. А стандартная рекурсия наверняка приведёт к тормозам.</p><p>А вообще мне сейчас негде тестировать, проблемы с серверными службами. Разве что к кому-то через удалённый стол подключаться.</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2015-12-11T18:05:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99625#p99625</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS/WSH: Определить полный путь к расшареной папке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99594#p99594" />
			<content type="html"><![CDATA[<p>Добрый вечер. Возвращаюсь к теме. За диалогом следил - все предложенные решения испытывал. Рузультаты идентичны как и у пользователя Godvin.<br />При известном полном пути к расшареному ресурсу на другом компьютере скрипт <a href="http://forum.script-coding.com/viewtopic.php?id=518">http://forum.script-coding.com/viewtopic.php?id=518</a> выдает сообщение при появлении файла в указаной папке, но не реагирует на создание папки или на появление файла в подпапках указаной папки; а первый скрипт из поста <a href="http://forum.script-coding.com/viewtopic.php?pid=99144#p99144">http://forum.script-coding.com/viewtopi … 144#p99144</a> успешно копирует созданный файл при его появлении в указаной папке, но также не обрабатывает вложенные папки и создание папок.<br />Так же считаю актуальным вопрос об определении полного пути к расшаренной папке на удаленном компьютере.<br />Скрипт <a href="http://forum.script-coding.com/viewtopic.php?pid=99523#p99523">http://forum.script-coding.com/viewtopi … 523#p99523</a> выдает ошибку аналогичную как и у пользователя Godvin.</p>]]></content>
			<author>
				<name><![CDATA[madjahed]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29005</uri>
			</author>
			<updated>2015-12-09T17:01:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99594#p99594</id>
		</entry>
</feed>
