<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Убрать символы после слеша]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9094&amp;type=atom" />
	<updated>2014-01-01T08:21:10Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9094</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Убрать символы после слеша]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78729#p78729" />
			<content type="html"><![CDATA[<p>Ещё один способ:<br /></p><div class="codebox"><pre><code>
FilePath = C:\Program Files\Internet Explorer\iexplore.exe
FolderPath := SubStr( FilePath, 1, InStr( FilePath, &quot;\&quot;,, 0, 1))

MsgBox, % FolderPath
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-01-01T08:21:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78729#p78729</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Убрать символы после слеша]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78706#p78706" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
FilePath = C:\Program Files\Internet Explorer\iexplore.exe
FolderPath := RegExReplace(FilePath, &quot;[^\\]*$&quot;)

MsgBox, % FolderPath
</code></pre></div><p>Или так:<br /></p><div class="codebox"><pre><code>
FilePath = C:\Program Files\Internet Explorer\iexplore.exe
SplitPath, FilePath,, FolderPath
FolderPath = %FolderPath%\

MsgBox, % FolderPath
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2013-12-31T10:58:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78706#p78706</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Убрать символы после слеша]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78698#p78698" />
			<content type="html"><![CDATA[<p>Доброго времени суток,&nbsp; есть вопрос. Например у меня есть путь к файлу <em>C:\Program Files\Internet Explorer\iexplore.exe</em>, нужно убрать <em>iexplore.exe</em>, чтобы получилась просто папка(пути к файлам могут быть разные).Я знаю что можно через <em>RegExMatch</em> это сделать, но я не понимаю как.</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2013-12-31T03:48:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78698#p78698</id>
		</entry>
</feed>
