<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Рекурсивно заменить строку в реестре]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=11667</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11667&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Рекурсивно заменить строку в реестре».]]></description>
		<lastBuildDate>Fri, 03 Jun 2016 16:10:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Рекурсивно заменить строку в реестре]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=104655#p104655</link>
			<description><![CDATA[<p>Спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (semiono)]]></author>
			<pubDate>Fri, 03 Jun 2016 16:10:47 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=104655#p104655</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Рекурсивно заменить строку в реестре]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=104654#p104654</link>
			<description><![CDATA[<p>Или, может, так быстрее будет, не проверял:<br /></p><div class="codebox"><pre><code>SetBatchLines, -1
for k, v in [&quot;HKCR&quot;, &quot;HKU&quot;, &quot;HKCU&quot;, &quot;HKCR&quot;, &quot;HKCC&quot;]
	Loop, Reg, % v, R
	{
		if (A_LoopRegType = &quot;REG_SZ&quot;)  {
			RegRead, OutputVar
			if InStr(OutputVar, &quot;C:\Program Files&quot;)
				RegWrite, % RegExReplace(OutputVar, &quot;\QC:\Program Files\E&quot;, &quot;D:\zz\Program Files&quot;)
		}
	}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Fri, 03 Jun 2016 16:08:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=104654#p104654</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Рекурсивно заменить строку в реестре]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=104653#p104653</link>
			<description><![CDATA[<p>Так:<br /></p><div class="codebox"><pre><code>SetBatchLines, -1
for k, v in [&quot;HKCR&quot;, &quot;HKU&quot;, &quot;HKCU&quot;, &quot;HKCR&quot;, &quot;HKCC&quot;]
	Loop, Reg, % v, R
	{
		RegRead, OutputVar
		if (A_LoopRegType = &quot;REG_SZ&quot; &amp;&amp; InStr(OutputVar, &quot;C:\Program Files&quot;))
			RegWrite, % RegExReplace(OutputVar, &quot;\QC:\Program Files\E&quot;, &quot;D:\zz\Program Files&quot;)
	}</code></pre></div><p>Перед изменением реестра делайте бекап.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Fri, 03 Jun 2016 16:05:09 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=104653#p104653</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Рекурсивно заменить строку в реестре]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=104651#p104651</link>
			<description><![CDATA[<p>Чтобы содержал строку, всмысле там может быть &quot;C:\Program Files\Windows Media Pleer&quot; и что угодно.<br />Тут видимо регулярные выражения надо подключить...</p><p>Я новичёк, читаю документацию, но пока не могу начать, сложно.</p><p>Надо чтобы менялся заданный паттерн * &quot;Program Files&quot; * рекурсивно обходя реестр на совпадения</p><p>Диалоги никакие не нужны, просто работающий скрипт.<br />Нужно для того чтобы не делать это вручную</p>]]></description>
			<author><![CDATA[null@example.com (semiono)]]></author>
			<pubDate>Fri, 03 Jun 2016 15:45:41 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=104651#p104651</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Рекурсивно заменить строку в реестре]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=104650#p104650</link>
			<description><![CDATA[<p>Непонятно, нужно чтобы ключ имел значение &quot;C:\Program Files&quot;, или содержал эту строку?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Fri, 03 Jun 2016 15:38:45 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=104650#p104650</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Рекурсивно заменить строку в реестре]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=104645#p104645</link>
			<description><![CDATA[<p>Помогите составить скрипт, поиск и замена значения параметра, <br />например: REG_SZ: &quot;C:\Program Files&quot; на &quot;D:\zz\Program Files&quot;</p>]]></description>
			<author><![CDATA[null@example.com (semiono)]]></author>
			<pubDate>Fri, 03 Jun 2016 14:08:41 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=104645#p104645</guid>
		</item>
	</channel>
</rss>
