<?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=9211&amp;type=atom" />
	<updated>2014-02-04T13:18:24Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9211</id>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Поиск и удаление определенного файла повсюду]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=79754#p79754" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Как сделать, чтобы файл &quot;desktop.ini&quot; его искали повсюду и удалял.</p></blockquote></div><div class="codebox"><pre><code>del /f /q /s c:\desktop.ini</code></pre></div>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2014-02-04T13:18:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=79754#p79754</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Поиск и удаление определенного файла повсюду]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=79753#p79753" />
			<content type="html"><![CDATA[<p><span style="color: Green"><strong>qb2090</strong>, на первый (и последний) раз я поправил заголовок темы и содержимое. </span></p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2014-02-04T13:16:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=79753#p79753</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[CMD/BAT: Поиск и удаление определенного файла повсюду]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=79751#p79751" />
			<content type="html"><![CDATA[<p><span style="color: Green"><strong>П</strong></span>омогите пожалуйста<span style="color: Green"><strong>. Е</strong></span>сть файл desktop_1.cmd<span style="color: Green"><strong>.</strong></span></p><p><span style="color: Green"><strong>В</strong></span> нем содержимое ниже<br /></p><div class="codebox"><pre><code>@echo off
Title &quot;AntiDesktop.ini &quot;
if not exist desktop.ini title &quot;AntiDesktop file not found&quot;
cls
if exist desktop.ini del /F /Q &quot;desktop.ini&quot;
cls
if exist desktop.ini title &quot;AntiDesktop file found&quot;
desktop_2.cmd

exit</code></pre></div><p><span style="color: Green"><strong>И</strong></span> есть файл desktop_2.cmd<span style="color: Green"><strong>,</strong></span> содержимое ниже<br /></p><div class="codebox"><pre><code>desktop_1.cmd</code></pre></div><p><span style="color: Green"><strong>Т</strong></span>о есть происходит повтор оборотный ц<span style="color: Green"><strong>и</strong></span>кл <span style="color: Green"><strong>—</strong></span> 1 файл запускает 2го и так далее<span style="color: Green"><strong>. К</strong></span>ак сделать<span style="color: Green"><strong>,</strong></span> чтобы файл &quot;desktop.ini&quot; его искали повсюду и удалял<span style="color: Green"><strong>. П</strong></span>рошу о помоши.</p><p><span style="color: Green"><strong>З</strong></span>наю есть find и for и мож<span style="color: Green"><strong>е</strong></span>т еше ч<span style="color: Green"><strong>то-то,</strong></span> но я неразобрался в них<span style="color: Green"><strong>.</strong></span></p>]]></content>
			<author>
				<name><![CDATA[qb2090]]></name>
			</author>
			<updated>2014-02-04T13:03:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=79751#p79751</id>
		</entry>
</feed>
