<?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=17229&amp;type=atom" />
	<updated>2022-07-05T20:25:03Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17229</id>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Как добавить пробел в bat?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=153795#p153795" />
			<content type="html"><![CDATA[<p>Разобрался:<br /></p><div class="codebox"><pre><code>
echo. &gt;&gt;%F%
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[henry.ford.2018]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42650</uri>
			</author>
			<updated>2022-07-05T20:25:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=153795#p153795</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[CMD/BAT: Как добавить пробел в bat?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=153794#p153794" />
			<content type="html"><![CDATA[<p>Есть код типа:</p><div class="codebox"><pre><code>
set &quot;F=&quot;c:\ProgramData\my.bat&quot;&quot;
echo @echo off&gt;%F%
echo set ServiceName=AnyDesk&gt;&gt;%F%
echo sc queryex %%ServiceName%%^|Find &quot;STATE&quot;^|Find &quot;STOP&quot;^&gt;Nul^&amp;^&amp; (shutdown /r /t 1)&gt;&gt;%F%
</code></pre></div><p>Как в батнике вторую строку сделать пустой типа:</p><div class="codebox"><pre><code>
@echo off

set ServiceName=AnyDesk
sc queryex %ServiceName%|Find &quot;STATE&quot;|Find &quot;STOP&quot;&gt;Nul&amp;&amp; (shutdown /r /t 1)
</code></pre></div><p>Пожалуйста подскажите.</p>]]></content>
			<author>
				<name><![CDATA[henry.ford.2018]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42650</uri>
			</author>
			<updated>2022-07-05T20:06:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=153794#p153794</id>
		</entry>
</feed>
