<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Ordner auf CDs bestimmen]]></title><description><![CDATA[<p>Hi!</p>
<p>Ich hab folgendes Problem: Ich hab ein kleines Konsolenprogramm geschrieben, das mit FindFirstFile, FindNextFile usw. rekursiv eine <strong>Dateiliste</strong> eines angegebenen Ordners erstellt. Funktioniert wunderbar, nur bei CDs scheint es so, als ob das Programm Ordner nur als Dateien ansieht und einfach ausgibt anstatt reinzugehen.<br />
Um zu bestimmen, ob es sich um einen Ordner handelt, benutze ich diese Funktion:</p>
<pre><code class="language-cpp">return GetFileAttributes (pfad) == FILE_ATTRIBUTE_DIRECTORY;
</code></pre>
<p>Kann mir jemand helfen? Ich hab das Programm extra geschrieben, um meine CDs zu dokumentieren, aber gerade da funktioniert es nicht.</p>
<p>Danke im voraus,</p>
<p>Tly</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/82161/ordner-auf-cds-bestimmen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 19:08:24 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/82161.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 08 Aug 2004 19:30:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ordner auf CDs bestimmen on Sun, 08 Aug 2004 19:30:35 GMT]]></title><description><![CDATA[<p>Hi!</p>
<p>Ich hab folgendes Problem: Ich hab ein kleines Konsolenprogramm geschrieben, das mit FindFirstFile, FindNextFile usw. rekursiv eine <strong>Dateiliste</strong> eines angegebenen Ordners erstellt. Funktioniert wunderbar, nur bei CDs scheint es so, als ob das Programm Ordner nur als Dateien ansieht und einfach ausgibt anstatt reinzugehen.<br />
Um zu bestimmen, ob es sich um einen Ordner handelt, benutze ich diese Funktion:</p>
<pre><code class="language-cpp">return GetFileAttributes (pfad) == FILE_ATTRIBUTE_DIRECTORY;
</code></pre>
<p>Kann mir jemand helfen? Ich hab das Programm extra geschrieben, um meine CDs zu dokumentieren, aber gerade da funktioniert es nicht.</p>
<p>Danke im voraus,</p>
<p>Tly</p>
]]></description><link>https://www.c-plusplus.net/forum/post/577965</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/577965</guid><dc:creator><![CDATA[Tly]]></dc:creator><pubDate>Sun, 08 Aug 2004 19:30:35 GMT</pubDate></item><item><title><![CDATA[Reply to Ordner auf CDs bestimmen on Sun, 08 Aug 2004 20:05:19 GMT]]></title><description><![CDATA[<p>Schau dir mal den <a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39396" rel="nofollow">FAQ-Beitrag</a> dazu an:</p>
<blockquote>
<pre><code class="language-cpp">if (wfd.dwFileAttributes &amp; FILE_ATTRIBUTE_DIRECTORY) { ... }
</code></pre>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/577995</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/577995</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Sun, 08 Aug 2004 20:05:19 GMT</pubDate></item><item><title><![CDATA[Reply to Ordner auf CDs bestimmen on Sun, 08 Aug 2004 20:32:13 GMT]]></title><description><![CDATA[<p>Ja cool, danke! Ich war im FAQ, aber ich habs glatt übersehen. Wunderbar, das probiere ich gleich ma aus.<br />
Danke für den Hinweis, obwohls schon im FAQ stand!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/578008</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/578008</guid><dc:creator><![CDATA[Tly]]></dc:creator><pubDate>Sun, 08 Aug 2004 20:32:13 GMT</pubDate></item></channel></rss>