<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: UNC путь к файлу]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=18075&amp;type=atom" />
	<updated>2024-01-26T18:07:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=18075</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160073#p160073" />
			<content type="html"><![CDATA[<p>Да, про битность только не помню. И таскать её с собой. </p><p>И как то любопытно почему разные данные, это тогда всем СОМ объектам надо недоверять.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2024-01-26T18:07:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160073#p160073</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160072#p160072" />
			<content type="html"><![CDATA[<p>Ну, можно же запустить код на VBS из AHK, были же какие-то библиотеки.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-01-26T18:04:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160072#p160072</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160071#p160071" />
			<content type="html"><![CDATA[<p>Рано радуюсь. Из анк это работает только в одной битности с ОС. Показывает 1 диск против 2ух из VBS скрипта. И не показывает букву диска.<br />В идеале хотелось бы просто по букве диска узнать путь, а не перебирать все.<br />Раньше не замечал разного поведения VBS и аналогичного анк.</p><div class="codebox"><pre><code>WshNetwork := ComObjCreate(&quot;WScript.Network&quot;)
Drives := WshNetwork.EnumNetworkDrives 
MsgBox % Drives.Count 
 
strResult :=  &quot;&quot;
Loop % Drives.Count / 2 { 
	strResult .= Drives.Item(A_Index * 2 - 2) &quot;   &quot; Drives.Item(A_Index * 2 - 1) &quot;`n&quot; 
}
MsgBox % strResult</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2024-01-26T17:56:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160071#p160071</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160070#p160070" />
			<content type="html"><![CDATA[<p>Да блин, запускал это из блокнота через анк. <img src="//forum.script-coding.com/img/smilies/mad.png" width="15" height="15" /><br />Это было то с чего я начал.<br />Все работает оказывается, вопрос решён.</p><div class="codebox"><pre><code>Set WshNetwork = CreateObject(&quot;WScript.Network&quot;)
Set Drives = WshNetwork.EnumNetworkDrives
i = 0
While i &lt;= Drives.Count-1
    MsgBox Drives.Item(i) &amp; &quot; - &quot; &amp; Drives.Item(i+1)
    i = i+2
Wend
MsgBox Drives.Count</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2024-01-26T16:21:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160070#p160070</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160069#p160069" />
			<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>serzh82saratov пишет:</cite><blockquote><p>У меня там GUID больше сотни</p></blockquote></div><p>Я только недавно систему переустанавливал.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-01-26T15:51:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160069#p160069</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160068#p160068" />
			<content type="html"><![CDATA[<p>У меня там GUID больше сотни, у тебя только 7.<br />Дело в общем тёмное.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2024-01-26T15:50:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160068#p160068</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160067#p160067" />
			<content type="html"><![CDATA[<p>Не-а, у меня там вот что:<br /> <span class="postimg"><img src="https://i.imgur.com/h3Y6qIz.png" alt="https://i.imgur.com/h3Y6qIz.png" /></span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-01-26T15:46:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160067#p160067</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160063#p160063" />
			<content type="html"><![CDATA[<p>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 есть что нибудь похожее на ##Disk-O#serzh82saratov_mail_ru?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2024-01-26T05:03:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160063#p160063</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160062#p160062" />
			<content type="html"><![CDATA[<p>В любом случае если у меня есть доступ по сетевому пути, значит это где то в системе должно быть.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2024-01-26T04:34:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160062#p160062</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160061#p160061" />
			<content type="html"><![CDATA[<p>А версия приложения какая?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2024-01-26T04:33:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160061#p160061</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160060#p160060" />
			<content type="html"><![CDATA[<p>У меня не получилось это включить, после перезапуска сбрасывается.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-01-25T21:48:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160060#p160060</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160059#p160059" />
			<content type="html"><![CDATA[<p>Потом попробую, пишет, 2 часа осталось.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-01-25T19:54:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160059#p160059</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160058#p160058" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Не знаю, где это</p></blockquote></div><p><span class="postimg"><img src="https://i.imgur.com/NhoOL5B.png" alt="https://i.imgur.com/NhoOL5B.png" /></span></p><br /><br /><p><span class="postimg"><img src="https://i.imgur.com/ggM2i1p.png" alt="https://i.imgur.com/ggM2i1p.png" /></span></p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2024-01-25T19:49:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160058#p160058</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160057#p160057" />
			<content type="html"><![CDATA[<p>Не знаю, где это. Сейчас не могу, я раз уж включил Mail.Ru, решил сразу забекапить довольно большой объём данных, так что сейчас ничего переподключать нельзя.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-01-25T19:47:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160057#p160057</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: UNC путь к файлу]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160056#p160056" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p><span class="postimg"><img src="https://i.imgur.com/Ng8Pqut.png" alt="https://i.imgur.com/Ng8Pqut.png" /></span></p></blockquote></div><p>Тогда он такой станет.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2024-01-25T19:46:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160056#p160056</id>
		</entry>
</feed>
