<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10147&amp;type=atom" />
	<updated>2014-11-15T14:07:15Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10147</id>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88373#p88373" />
			<content type="html"><![CDATA[<div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>Ну, вот почему сразу «магия», «волшебство»? Почему не многолетний упорный труд? Нет, я, конечно, помню тезис про технологию, но тем не менее.</p></div></div>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2014-11-15T14:07:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88373#p88373</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88366#p88366" />
			<content type="html"><![CDATA[<p>как вы это делаете? вы маг или волшебник???</p>]]></content>
			<author>
				<name><![CDATA[Tankist37]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32671</uri>
			</author>
			<updated>2014-11-14T21:21:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88366#p88366</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88356#p88356" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Tankist37 пишет:</cite><blockquote><p>а хотелось бы в таком виде:</p><p> 2mpool Ленина-82&nbsp; 172.22.8.2&nbsp; <br />abaulin Молодежный 3 кв. 8,&nbsp; 4 подъезд&nbsp; 172.22.5.26&nbsp; 910-517-*****&nbsp; Абаулин А<br />akentev Молодежный 1-55&nbsp; 172.22.5.51&nbsp; 8-916-*******</p><p>Простите что не смог сразу объяснить что хочу.</p></blockquote></div><br /><div class="codebox"><pre><code>@echo off

set &quot;dir=D:\Test&quot;
set &quot;file=conf&quot;
set &quot;out=strings.txt&quot;

setlocal enabledelayedexpansion
@&gt;&quot;%out%&quot; (
pushd &quot;%dir%&quot;
for /f &quot;tokens=1,2* delims=:=&quot; %%i in (&#039;&quot;findstr /bis /c:Address= /c:IP= /c:Phone= /c:RealName= &quot;%file%&quot;&quot;&#039;) do @(
 for %%l in (&quot;%%~dpi.&quot;) do @(
  if defined x (
   if &quot;%%~nxl&quot;==&quot;!x!&quot; (
    &lt;nul set /p=&quot;%%k &quot;
   ) else (
    echo.
    &lt;nul set /p=&quot;%%~nxl %%k &quot;
    )
  ) else (
   &lt;nul set /p=&quot;%%~nxl %%k &quot;
   )
  set x=%%~nxl
  )
 )
echo.
popd
)
endlocal

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-11-14T13:34:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88356#p88356</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88352#p88352" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Tankist37 пишет:</cite><blockquote><p>Спасибо)</p></blockquote></div><br /><p>Для &quot;спасибо&quot; есть кнопка &quot;<strong>+</strong>&quot; <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" />.</p>]]></content>
			<author>
				<name><![CDATA[Yury]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30230</uri>
			</author>
			<updated>2014-11-14T12:13:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88352#p88352</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88351#p88351" />
			<content type="html"><![CDATA[<p>Спасибо) почти то что я хотел.</p><p>получилось так:</p><p>2mpool Ленина-82<br />2mpool 172.22.8.2<br />2mpool <br />2mpool<br /> abaulin Молодежный 3 кв. 8,&nbsp; 4 подъезд<br />abaulin 172.22.5.26<br />abaulin 910-517-*****<br />abaulin Абаулин А<br />akentev Молодежный 1-55<br />akentev 172.22.5.51<br />akentev 8-916-*******<br />akentev</p><p>а хотелось бы в таком виде:</p><p> 2mpool Ленина-82&nbsp; 172.22.8.2&nbsp; <br />abaulin Молодежный 3 кв. 8,&nbsp; 4 подъезд&nbsp; 172.22.5.26&nbsp; 910-517-*****&nbsp; Абаулин А<br />akentev Молодежный 1-55&nbsp; 172.22.5.51&nbsp; 8-916-*******</p><p>Простите что не смог сразу объяснить что хочу.</p>]]></content>
			<author>
				<name><![CDATA[Tankist37]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32671</uri>
			</author>
			<updated>2014-11-14T11:48:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88351#p88351</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88348#p88348" />
			<content type="html"><![CDATA[<p>На всякий случай уточняю код:</p><br /><div class="codebox"><pre><code>@echo off

set &quot;dir=D:\Test&quot;
set &quot;file=conf&quot;
set &quot;out=strings.txt&quot;

@&gt;&quot;%out%&quot; (
pushd &quot;%dir%&quot;
for /f &quot;tokens=1,2* delims=:=&quot; %%i in (&#039;&quot;findstr /bis /c:Address= /c:IP= /c:Phone= /c:RealName= &quot;%file%&quot;&quot;&#039;) do @(
 for %%l in (&quot;%%~dpi.&quot;) do @(
  echo %%~nxl %%k
  )
 )
popd
)

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-11-14T11:14:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88348#p88348</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88300#p88300" />
			<content type="html"><![CDATA[<p>Да я там кое что удалил лишнего, просто болею - очень рассеяны сейчас и голова не варит.<br />вот пример, в папках интересует файл conf<br />http://rghost.ru/59041987</p>]]></content>
			<author>
				<name><![CDATA[Tankist37]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32671</uri>
			</author>
			<updated>2014-11-13T12:29:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88300#p88300</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88299#p88299" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>@echo off

set &quot;dir=D:\Test&quot;
set &quot;out=strings.txt&quot;

@&gt;&quot;%out%&quot; (
pushd &quot;%dir%&quot;
for /f &quot;tokens=1,3 delims=:=&quot; %%i in (&#039;&quot;findstr /bis /c:Address= /c:IP= /c:Phone= /c:RealName= *&quot;&#039;) do @(
 for %%k in (&quot;%%~dpi.&quot;) do @(
  echo %%~nxk %%j
  )
 )
popd
)

exit /b</code></pre></div><br /><br /><div class="quotebox"><cite>Tankist37 пишет:</cite><blockquote><p>перевести из KOI-8 в ANSI</p></blockquote></div><br /><p>С этим сами разбирайтесь.</p>]]></content>
			<author>
				<name><![CDATA[Yury]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30230</uri>
			</author>
			<updated>2014-11-13T12:28:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88299#p88299</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88295#p88295" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Отредактировано Tankist37 (Сегодня 15:17:28)</p></blockquote></div><p>Я не понял, что Вы там редактировали, если количество знаков препинания не изменилось ни на йоту.</p><p>Упакуйте пару-тройку таких файлов (<em>разных</em> файлов) в архив, выложите на RGhost.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2014-11-13T12:08:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88295#p88295</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88290#p88290" />
			<content type="html"><![CDATA[<p>у файлов нет расширения, а каждый файл выглядит так, если его через командною строку открыть командой type<br />Не которые строки - тоесть то что стоит за Address= , IP= , Phone= и RealName=</p><p>Address=э????????? 3 ??. 8,&nbsp; 4 ???????<br />AlwaysOnline=1<br />Credit=0.000000<br />CreditExpire=0<br />DisabledDetailStat=1<br />Down=1<br />Email=<br />Group=Kabicino<br />IP=172.22.5.26<br />Note=???????????? ???????? ???????<br />Passive=1<br />Password=G1paM495<br />Phone=910-517-54-55<br />RealName=с?????? с????????<br />Tariff=Zagorodniy1<br />TariffChange=<br />Userdata0=<br />Userdata1=no<br />Userdata2=no<br />Userdata3=2000<br />Userdata4=<br />Userdata5=<br />Userdata6=<br />Userdata7=<br />Userdata8=<br />Userdata9=</p>]]></content>
			<author>
				<name><![CDATA[Tankist37]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32671</uri>
			</author>
			<updated>2014-11-13T11:45:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88290#p88290</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88282#p88282" />
			<content type="html"><![CDATA[<p><span style="color: Green">Расставьте знаки препинания.</span></p><div class="quotebox"><blockquote><p>некоторые строки</p></blockquote></div><p>По какому критерию «некоторые»?</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2014-11-13T09:53:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88282#p88282</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[CMD/BAT: BAT переводящий файлы в строку одного файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88277#p88277" />
			<content type="html"><![CDATA[<p>Имеется много папок с находящимися в них файлами, <br />нужно скопировать&nbsp; из 1 файла лежащего в каждой папке некоторые строки и записать их вместе с названием папки&nbsp; строку одного файла с расширением .txt при этом надо файл находищийся в папке перевести из KOI-8 в ANSI</p>]]></content>
			<author>
				<name><![CDATA[Tankist37]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32671</uri>
			</author>
			<updated>2014-11-13T09:04:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88277#p88277</id>
		</entry>
</feed>
