<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; CMD/BAT: Определить путь к папке автозагрузки для AllUsers]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5520&amp;type=atom" />
	<updated>2011-02-18T09:26:08Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5520</id>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Определить путь к папке автозагрузки для AllUsers]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=45221#p45221" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexii пишет:</cite><blockquote><p>Хорошо бы было сделать обзорную статью по различиям основных утилит в выдаче результатов в зависимости от версии ОС.</p></blockquote></div><p>Ага!<br />Что-то ещё в голове крутилось по этому поводу, но сейчас не вспомню...((</p>]]></content>
			<author>
				<name><![CDATA[SANIOK_AV]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25238</uri>
			</author>
			<updated>2011-02-18T09:26:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=45221#p45221</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Определить путь к папке автозагрузки для AllUsers]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=45219#p45219" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>SANIOK_AV пишет:</cite><blockquote><p>Кстати, например, в Windows7 между именем параметра, типом в запросе reg query в качестве разделителя используется пробел а не табуляция.</p></blockquote></div><p>Хорошо бы было сделать обзорную статью по различиям основных утилит в выдаче результатов в зависимости от версии ОС.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2011-02-18T07:51:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=45219#p45219</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Определить путь к папке автозагрузки для AllUsers]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=45217#p45217" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexii пишет:</cite><blockquote><p>дело в том, что в локализованных версиях Windows папка может называться иначе</p></blockquote></div><p>100 % !</p>]]></content>
			<author>
				<name><![CDATA[SANIOK_AV]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25238</uri>
			</author>
			<updated>2011-02-18T06:34:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=45217#p45217</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Определить путь к папке автозагрузки для AllUsers]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=45216#p45216" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexii пишет:</cite><blockquote><p>Это я виноват, что не проверил код после помещения на форум. Приношу Вам свои извинения.</p></blockquote></div><p>Да перестаньте, помогли мне и ещё извиняетесь!))<br />Кстати, например, в Windows7 между именем параметра, типом в запросе reg query в качестве разделителя используется пробел а не табуляция.</p>]]></content>
			<author>
				<name><![CDATA[SANIOK_AV]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25238</uri>
			</author>
			<updated>2011-02-18T06:33:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=45216#p45216</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Определить путь к папке автозагрузки для AllUsers]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=45205#p45205" />
			<content type="html"><![CDATA[<p><strong>armenxxx1</strong>, дело в том, что в локализованных версиях Windows папка может называться иначе, например:<br /></p><div class="codebox"><pre><code>C:\Documents and Settings\All Users\Главное меню\Программы\Автозагрузка</code></pre></div>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2011-02-17T15:52:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=45205#p45205</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Определить путь к папке автозагрузки для AllUsers]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=45203#p45203" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>SANIOK_AV пишет:</cite><blockquote><p>Единственное, что сперва забыл о том, что после &quot;delims=&quot; нужно пробелы заменить табуляцией )))</p></blockquote></div><p>Это я виноват, что не проверил код после помещения на форум. Приношу Вам свои извинения.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2011-02-17T15:42:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=45203#p45203</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Определить путь к папке автозагрузки для AllUsers]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=45200#p45200" />
			<content type="html"><![CDATA[<p>CMD ... </p><div class="codebox"><pre><code>%ALLUSERSPROFILE%\Start Menu\Programs\Startup</code></pre></div>]]></content>
			<author>
				<name><![CDATA[armenxxx1]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26102</uri>
			</author>
			<updated>2011-02-17T12:27:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=45200#p45200</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Определить путь к папке автозагрузки для AllUsers]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=45198#p45198" />
			<content type="html"><![CDATA[<p>Спасибо огромное, работает!<br />Единственное, что сперва забыл о том, что после &quot;delims=&quot; нужно пробелы заменить табуляцией )))</p>]]></content>
			<author>
				<name><![CDATA[SANIOK_AV]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25238</uri>
			</author>
			<updated>2011-02-17T12:15:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=45198#p45198</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Определить путь к папке автозагрузки для AllUsers]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=45181#p45181" />
			<content type="html"><![CDATA[<p>Можно попробовать таким способом:<br /></p><div class="codebox"><pre><code>@echo off
setlocal enableextensions enabledelayedexpansion

set sKey=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
set sParameter=Common Startup

chcp 1251&gt;nul
for /f &quot;tokens=3 delims=    &quot; %%i in (&#039;reg.exe query &quot;%sKey%&quot; /v &quot;%sParameter%&quot;^|find.exe /i &quot;%sParameter%&quot;&#039;) do set sAllUsersStartup=%%i
chcp 866&gt;nul
echo %sAllUsersStartup%

endlocal
exit /b 0</code></pre></div>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2011-02-16T14:00:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=45181#p45181</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[CMD/BAT: Определить путь к папке автозагрузки для AllUsers]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=45176#p45176" />
			<content type="html"><![CDATA[<p>Доброго времени суток!<br />Подскажите пожалуйста как в CMD/BAT можно обратиться к папке автозагрука для AllUsers?<br />В vbs это можно сделать:</p><div class="codebox"><pre><code>Set obj = CreateObject(&quot;WScript.Shell&quot;)
fold = obj.SpecialFolders(&quot;AllUsersStartup&quot;)</code></pre></div><p>А вот как это в CMD/BAT реализовать?<br />Заранее благодарен!</p>]]></content>
			<author>
				<name><![CDATA[SANIOK_AV]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25238</uri>
			</author>
			<updated>2011-02-16T10:16:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=45176#p45176</id>
		</entry>
</feed>
