<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; CMD/BAT: Вывод на экран строчки с указанием её номера.]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9951&amp;type=atom" />
	<updated>2014-09-06T11:17:59Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9951</id>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Вывод на экран строчки с указанием её номера.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=86312#p86312" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Yury пишет:</cite><blockquote><div class="codebox"><pre><code>@echo off

chcp 1251&gt;nul
for /f &quot;delims=&quot; %%i in (&#039;
 find /n /v &quot;&quot;^&lt;&quot;file.txt&quot;
&#039;) do (
 chcp 866&gt;nul
 echo %%i
 chcp 1251&gt;nul
 )

pause&gt;nul
exit /b</code></pre></div></blockquote></div><p>Блин... Мог бы и сам додуматься:(</p><p>Больше спасибо!</p>]]></content>
			<author>
				<name><![CDATA[DimaFIX]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32529</uri>
			</author>
			<updated>2014-09-06T11:17:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=86312#p86312</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Вывод на экран строчки с указанием её номера.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=86311#p86311" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>@echo off

chcp 1251&gt;nul
for /f &quot;delims=&quot; %%i in (&#039;
 find /n /v &quot;&quot;^&lt;&quot;file.txt&quot;
&#039;) do (
 chcp 866&gt;nul
 echo %%i
 chcp 1251&gt;nul
 )

pause&gt;nul
exit /b</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Yury]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30230</uri>
			</author>
			<updated>2014-09-06T11:16:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=86311#p86311</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Вывод на экран строчки с указанием её номера.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=86310#p86310" />
			<content type="html"><![CDATA[<p><strong>Yury</strong>, спасибо!</p><p>Но нужна не конкретная строчка, а все.</p>]]></content>
			<author>
				<name><![CDATA[DimaFIX]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32529</uri>
			</author>
			<updated>2014-09-06T11:10:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=86310#p86310</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Вывод на экран строчки с указанием её номера.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=86309#p86309" />
			<content type="html"><![CDATA[<p><strong>DimaFIX</strong>, пакетный файл:</p><br /><div class="codebox"><pre><code>@echo off

chcp 1251&gt;nul
for /f &quot;delims=&quot; %%i in (&#039;
 find /i /n &quot;строчка из файла&quot;^&lt;&quot;file.txt&quot;
&#039;) do (
 chcp 866&gt;nul
 echo %%i
 chcp 1251&gt;nul
 )

pause&gt;nul
exit /b</code></pre></div><br /><p>.</p>]]></content>
			<author>
				<name><![CDATA[Yury]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30230</uri>
			</author>
			<updated>2014-09-06T11:06:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=86309#p86309</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[CMD/BAT: Вывод на экран строчки с указанием её номера.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=86308#p86308" />
			<content type="html"><![CDATA[<p>Всем привет!<br />Подскажите пожалуйста, как вывести в консоль строчку из файла file.txt с указанием её номера?<br />Заранее спасибо!</p>]]></content>
			<author>
				<name><![CDATA[DimaFIX]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32529</uri>
			</author>
			<updated>2014-09-06T10:45:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=86308#p86308</id>
		</entry>
</feed>
