<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; CMD/BAT: Заполнить TXT в цикле ссылками]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11724&amp;type=atom" />
	<updated>2016-06-15T18:41:30Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11724</id>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Заполнить TXT в цикле ссылками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105262#p105262" />
			<content type="html"><![CDATA[<p>Хитро).<br />Благодарю.</p>]]></content>
			<author>
				<name><![CDATA[tymosha]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33987</uri>
			</author>
			<updated>2016-06-15T18:41:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105262#p105262</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Заполнить TXT в цикле ссылками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105260#p105260" />
			<content type="html"><![CDATA[<p>Потому что не надо в файл сохранять, это комстрока. В случае же bat-файла знак процента нужно сдваивать:<br /></p><div class="quotebox"><blockquote><p>@echo off &amp; (for /l <strong>%%</strong># IN (1,1,700) do echo.catalog.i.ua/catalog/12/?r=10000^&amp;p=<strong>%%</strong>#&gt;&gt;FileName.txt) &amp; start FileName.txt</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2016-06-15T18:30:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105260#p105260</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Заполнить TXT в цикле ссылками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105259#p105259" />
			<content type="html"><![CDATA[<p>Почему же у меня не так?</p><div class="codebox"><pre><code>

C:\Documents and Settings\Admin&gt;c:\1.cmd
Непредвиденное появление: #.

C:\Documents and Settings\Admin&gt;@echo off &amp; (for /l #&gt;&gt;FileName.txt) &amp; start Fil
eName.txt
C:\Documents and Settings\Admin&gt;

</code></pre></div>]]></content>
			<author>
				<name><![CDATA[tymosha]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33987</uri>
			</author>
			<updated>2016-06-15T18:27:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105259#p105259</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Заполнить TXT в цикле ссылками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105258#p105258" />
			<content type="html"><![CDATA[<p>Проверил - работает. Можно попробовать ещё так:<br /></p><div class="codebox"><pre><code>@echo off &amp; (for /l %# IN (1,1,700) do echo:catalog^.i^.ua/catalog/12/?r=10000^&amp;p=%#&gt;&gt;FileName.txt) &amp; start FileName.txt</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2016-06-15T18:22:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105258#p105258</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Заполнить TXT в цикле ссылками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105257#p105257" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>@echo off &amp; (for /l %# IN (1,1,700) do echo.catalog.i.ua/catalog/12/?r=10000^&amp;p=%#&gt;&gt;FileName.txt) &amp; start FileName.txt</code></pre></div>]]></content>
			<author>
				<name><![CDATA[tymosha]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33987</uri>
			</author>
			<updated>2016-06-15T18:17:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105257#p105257</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Заполнить TXT в цикле ссылками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105256#p105256" />
			<content type="html"><![CDATA[<p>А что вставлено вместо <strong><span style="color: green">ссылка</span></strong>?</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2016-06-15T18:13:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105256#p105256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Заполнить TXT в цикле ссылками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105255#p105255" />
			<content type="html"><![CDATA[<p>Всё равно &quot;Непредвиденное появление: #.&quot; .</p>]]></content>
			<author>
				<name><![CDATA[tymosha]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33987</uri>
			</author>
			<updated>2016-06-15T18:10:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105255#p105255</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Заполнить TXT в цикле ссылками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105254#p105254" />
			<content type="html"><![CDATA[<p>Приведённая строка может вызываться из комстроки какого-нибудь файлменеджера при нахождении в папке, где будет создаваться файл. Если из консоли cmd (при нахождении в нужной папке), то убираем <span style="color: green">&#039;</span>cmd /c &amp; <span style="color: green">&#039;</span> спереди.</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2016-06-15T18:05:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105254#p105254</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Заполнить TXT в цикле ссылками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105247#p105247" />
			<content type="html"><![CDATA[<p>Благодарю за ответ, но ничего не произошло.</p>]]></content>
			<author>
				<name><![CDATA[tymosha]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33987</uri>
			</author>
			<updated>2016-06-15T17:26:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105247#p105247</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Заполнить TXT в цикле ссылками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105246#p105246" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>cmd /c &amp; @echo off &amp; (for /l %# IN (1,1,700) do echo.<strong><span style="color: green">ссылка</span></strong>/catalog/12/?r=10000<strong><span style="color: red">^</span></strong>&amp;p=%#&gt;&gt;FileName.txt) &amp; start FileName.txt</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2016-06-15T17:05:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105246#p105246</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[CMD/BAT: Заполнить TXT в цикле ссылками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105243#p105243" />
			<content type="html"><![CDATA[<p>Здравствуйте уважаемые!<br />Есть ссылка.<br />Ссылка/catalog/12/?r=10000&amp;p=<strong>ххх</strong>.</p><p>Где <strong>ххх</strong> - число от 1 до 700.</p><p>Нужно создать тхт файл на компьютере и заполнить его в цикле строками.</p><p><em>Ссылка/catalog/12/?r=10000&amp;p=1.<br />Ссылка/catalog/12/?r=10000&amp;p=2.<br />.............<br />.............<br />Ссылка/catalog/12/?r=10000&amp;p=699.<br />Ссылка/catalog/12/?r=10000&amp;p=700</em>.</p><p>Такое реально?</p>]]></content>
			<author>
				<name><![CDATA[tymosha]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33987</uri>
			</author>
			<updated>2016-06-15T15:11:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105243#p105243</id>
		</entry>
</feed>
