<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://humanemulator.net/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://humanemulator.net/wiki/feed.php">
        <title>Human Emulator wiki en:objects:textfile:folders_work</title>
        <description></description>
        <link>https://humanemulator.net/wiki/</link>
        <image rdf:resource="https://humanemulator.net/wiki///humanemulator.net/wiki/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-09-26T00:57:45+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://humanemulator.net/wiki/doku.php?id=en:objects:textfile:folders_work:collect_from_folders_to_file&amp;rev=1785959555&amp;do=diff"/>
                <rdf:li rdf:resource="https://humanemulator.net/wiki/doku.php?id=en:objects:textfile:folders_work:create_folder&amp;rev=1785959555&amp;do=diff"/>
                <rdf:li rdf:resource="https://humanemulator.net/wiki/doku.php?id=en:objects:textfile:folders_work:generate_folders_by_strings_file&amp;rev=1785959556&amp;do=diff"/>
                <rdf:li rdf:resource="https://humanemulator.net/wiki/doku.php?id=en:objects:textfile:folders_work:get_all_files_in_folder&amp;rev=1785959556&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://humanemulator.net/wiki///humanemulator.net/wiki/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Human Emulator wiki</title>
        <link>https://humanemulator.net/wiki/</link>
        <url>https://humanemulator.net/wiki///humanemulator.net/wiki/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://humanemulator.net/wiki/doku.php?id=en:objects:textfile:folders_work:collect_from_folders_to_file&amp;rev=1785959555&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-08-05T22:52:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>en:objects:textfile:folders_work:collect_from_folders_to_file</title>
        <link>https://humanemulator.net/wiki/doku.php?id=en:objects:textfile:folders_work:collect_from_folders_to_file&amp;rev=1785959555&amp;do=diff</link>
        <description>PHP example: 

&lt;?php $xhe_host = &quot;127.0.0.1:7010&quot;;

//connect the object to control the emulator, if not already connected
if(!isset($path))
  $path = &quot;../../../Templates/xweb_human_emulator.php&quot;;
require($path);

//Start
echo &quot;&lt;hr&gt; &lt;font color = blue&gt; textfile-&gt;&quot;.basename(__FILE__).&quot;&lt;/font&gt; &lt;hr&gt;&quot;;

//1
echo(&quot;1.Collect all text files in the test_folder directory, which is located in the directory where the script is located, into one file:&quot;);
echo($textfile-&gt;collect_from_folders_to_file(&quot;test_fo…</description>
    </item>
    <item rdf:about="https://humanemulator.net/wiki/doku.php?id=en:objects:textfile:folders_work:create_folder&amp;rev=1785959555&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-08-05T22:52:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>en:objects:textfile:folders_work:create_folder</title>
        <link>https://humanemulator.net/wiki/doku.php?id=en:objects:textfile:folders_work:create_folder&amp;rev=1785959555&amp;do=diff</link>
        <description>PHP example: 

&lt;?php $xhe_host = &quot;127.0.0.1:7010&quot;;

//connect the object to control the emulator, if not already connected
if(!isset($path))
   $path = &quot;../../../Templates/xweb_human_emulator.php&quot;;
require($path);

//Start
echo &quot;&lt;hr&gt; &lt;font color = blue&gt; textfile-&gt;&quot;.basename(__FILE__).&quot;&lt;/font&gt; &lt;hr&gt;&quot;;

//remove
$folder-&gt;delete(&quot;test_create_folder&quot;);

//1
echo(&quot;1.Create a directory named test_create_folder, in the directory where the script is located:&quot;);
echo($textfile-&gt;create_folder(&quot;test_create_…</description>
    </item>
    <item rdf:about="https://humanemulator.net/wiki/doku.php?id=en:objects:textfile:folders_work:generate_folders_by_strings_file&amp;rev=1785959556&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-08-05T22:52:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>en:objects:textfile:folders_work:generate_folders_by_strings_file</title>
        <link>https://humanemulator.net/wiki/doku.php?id=en:objects:textfile:folders_work:generate_folders_by_strings_file&amp;rev=1785959556&amp;do=diff</link>
        <description>PHP example: 

&lt;?php $xhe_host = &quot;127.0.0.1:7010&quot;;

//connect the object to control the emulator, if not already connected
if(!isset($path))
   $path = &quot;../../../Templates/xweb_human_emulator.php&quot;;
require($path);

//Start
echo &quot;&lt;hr&gt; &lt;font color = blue&gt; textfile-&gt;&quot;.basename(__FILE__).&quot;&lt;/font&gt; &lt;hr&gt;&quot;;

//clean up what we will create
$folder-&gt;delete(&quot;test_generated&quot;);

//1
echo(&quot;1.Create directories with names taken from the lines of the file in the given directory:&quot;);
echo($textfile-&gt;generate_fold…</description>
    </item>
    <item rdf:about="https://humanemulator.net/wiki/doku.php?id=en:objects:textfile:folders_work:get_all_files_in_folder&amp;rev=1785959556&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-08-05T22:52:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>en:objects:textfile:folders_work:get_all_files_in_folder</title>
        <link>https://humanemulator.net/wiki/doku.php?id=en:objects:textfile:folders_work:get_all_files_in_folder&amp;rev=1785959556&amp;do=diff</link>
        <description>PHP example: 

&lt;?php $xhe_host = &quot;127.0.0.1:7010&quot;;

//connect the object to control the emulator, if not already connected
if(!isset($path))
  $path = &quot;../../../Templates/xweb_human_emulator.php&quot;;
require($path);

//Start
echo &quot;&lt;hr&gt; &lt;font color = blue&gt; textfile-&gt;&quot;.basename(__FILE__).&quot;&lt;/font&gt; &lt;hr&gt;&quot;;

//1
echo(&quot;1.Get all directories in the windows directory(1 level): &lt;br&gt; &lt;br&gt;&quot;);
echo($textfile-&gt;get_all_files_in_folder(&quot;C: \ Windows \&quot;, &quot;&quot;, false, true, 60).&quot;&lt;br&gt;&quot;);

//2
echo(&quot;&lt;br&gt; 2.Get all direc…</description>
    </item>
</rdf:RDF>
