<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://hotline.ubersoft.org/Sputnik/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_GetFiles</id>
		<title>Core Function GetFiles - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_GetFiles"/>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GetFiles&amp;action=history"/>
		<updated>2026-05-13T22:25:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GetFiles&amp;diff=4320&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GetFiles&amp;diff=4320&amp;oldid=prev"/>
				<updated>2015-06-14T12:37:03Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:37, 14 June 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GetFiles&amp;diff=4319&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GetFiles&amp;diff=4319&amp;oldid=prev"/>
				<updated>2014-08-11T21:40:49Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:40, 11 August 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GetFiles&amp;diff=1414&amp;oldid=prev</id>
		<title>UberFoX: Created page with &quot;&lt;pre&gt; GetFiles ( &lt;path&gt;, &lt;pattern&gt; ) &lt;/pre&gt;  === Description ===  Get an array of all files in a directory.  === Parameters ===  ==== path ====  The path to use.  &quot;&quot; means curren...&quot;</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GetFiles&amp;diff=1414&amp;oldid=prev"/>
				<updated>2011-12-09T20:47:44Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; GetFiles ( &amp;lt;path&amp;gt;, &amp;lt;pattern&amp;gt; ) &amp;lt;/pre&amp;gt;  === Description ===  Get an array of all files in a directory.  === Parameters ===  ==== path ====  The path to use.  &amp;quot;&amp;quot; means curren...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
GetFiles ( &amp;lt;path&amp;gt;, &amp;lt;pattern&amp;gt; )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
Get an array of all files in a directory.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
==== path ====&lt;br /&gt;
&lt;br /&gt;
The path to use.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;&amp;quot; means current directory.&lt;br /&gt;
&lt;br /&gt;
==== pattern ====&lt;br /&gt;
&lt;br /&gt;
Optional; The regex search pattern to use OR the regular text based search pattern to use&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
&lt;br /&gt;
Success: Returns array of files. &lt;br /&gt;
&lt;br /&gt;
Failure: Returns empty array. &lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
Get all files in current folder&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
$fList = GetFiles(&amp;quot;&amp;quot;);&lt;br /&gt;
foreach($fList as $file)&lt;br /&gt;
{&lt;br /&gt;
	println($file);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get all files in windows folder&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
$fList = GetFiles(&amp;quot;c:\\windows&amp;quot;);&lt;br /&gt;
foreach($fList as $file)&lt;br /&gt;
{&lt;br /&gt;
	println($file);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get all files in current folder that begin with s have none or more alphabetical chars and end with nik&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
$fList = GetFiles(&amp;quot;&amp;quot;, m/s\w*nik/);&lt;br /&gt;
foreach($fList as $file)&lt;br /&gt;
{&lt;br /&gt;
	println($file);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get all files in current folder that end with .txt&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
$fList = GetFiles(&amp;quot;&amp;quot;, &amp;quot;*.txt&amp;quot;);&lt;br /&gt;
foreach($fList as $file)&lt;br /&gt;
{&lt;br /&gt;
	println($file);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get all files in current folder that end with .txt or end with .exe&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
$fList = GetFiles(&amp;quot;&amp;quot;, m/(\.txt)|(\.exe)/);&lt;br /&gt;
foreach($fList as $file)&lt;br /&gt;
{&lt;br /&gt;
	println($file);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Core Function]]&lt;/div&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	</feed>