<?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[Temp-Dateien löschen]]></title><description><![CDATA[<p>Hallo Leuz,</p>
<p>ich glaub ich bin zu blöd dazu.<br />
Ich hab auch dieses Förum und das Entwickler-Forum danach durchsucht, ich blicks einfach nicht.</p>
<p>Ich will nix anderes machen als den Inhalt des Temp-Verzeichnis löschen.</p>
<p>So weit wie ich es verstanden habe, muss ich das irgendwie so machen:</p>
<pre><code class="language-cpp">TSearchRec sr;
FindFirst(&quot;c:\temp\*.*&quot;, faAnyFile, sr);
while(GetLastError()!=ERROR_NO_MORE_FILES)
   {
   FindNext(sr);
   DeleteFile(sr.Name);
   }
</code></pre>
<p>Bei FindNext(sr); bringt er mir eine AccessViolation an ntdll.dll...blablabla.</p>
<p>Kann mir dbitte jemand helfen ??</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/48960/temp-dateien-löschen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 05 Jul 2026 14:54:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/48960.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Sep 2003 16:25:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Temp-Dateien löschen on Sun, 14 Sep 2003 16:25:03 GMT]]></title><description><![CDATA[<p>Hallo Leuz,</p>
<p>ich glaub ich bin zu blöd dazu.<br />
Ich hab auch dieses Förum und das Entwickler-Forum danach durchsucht, ich blicks einfach nicht.</p>
<p>Ich will nix anderes machen als den Inhalt des Temp-Verzeichnis löschen.</p>
<p>So weit wie ich es verstanden habe, muss ich das irgendwie so machen:</p>
<pre><code class="language-cpp">TSearchRec sr;
FindFirst(&quot;c:\temp\*.*&quot;, faAnyFile, sr);
while(GetLastError()!=ERROR_NO_MORE_FILES)
   {
   FindNext(sr);
   DeleteFile(sr.Name);
   }
</code></pre>
<p>Bei FindNext(sr); bringt er mir eine AccessViolation an ntdll.dll...blablabla.</p>
<p>Kann mir dbitte jemand helfen ??</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/353427</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/353427</guid><dc:creator><![CDATA[Markus Pelloth]]></dc:creator><pubDate>Sun, 14 Sep 2003 16:25:03 GMT</pubDate></item><item><title><![CDATA[Reply to Temp-Dateien löschen on Mon, 15 Sep 2003 13:14:42 GMT]]></title><description><![CDATA[<p>probiers mal so:</p>
<pre><code class="language-cpp">TSearchRec sr;
if (FindFirst(&quot;c:\\temp\\*.*&quot;, faAnyFile, sr) == 0)
 { do DeleteFile(&quot;c:\\temp\\&quot; + sr.Name);
   while (FindNext(sr) == 0);
   FindClose(sr);
 }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/353986</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/353986</guid><dc:creator><![CDATA[Jester2000]]></dc:creator><pubDate>Mon, 15 Sep 2003 13:14:42 GMT</pubDate></item><item><title><![CDATA[Reply to Temp-Dateien löschen on Mon, 15 Sep 2003 14:39:33 GMT]]></title><description><![CDATA[<p>...the Groschen has fallen...</p>
<p>Danke !!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/354061</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/354061</guid><dc:creator><![CDATA[Markus Pelloth]]></dc:creator><pubDate>Mon, 15 Sep 2003 14:39:33 GMT</pubDate></item><item><title><![CDATA[Reply to Temp-Dateien löschen on Thu, 14 Oct 2004 06:04:49 GMT]]></title><description><![CDATA[<p>hio ich hätt da mal ne frage zu dieser Funktion wie würde diese denn aussehen wenn mann auf der ganzen Festplatte nach *tmp dateien suhct und diese denn löscht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/628401</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/628401</guid><dc:creator><![CDATA[Kruemel2oo2]]></dc:creator><pubDate>Thu, 14 Oct 2004 06:04:49 GMT</pubDate></item><item><title><![CDATA[Reply to Temp-Dateien löschen on Thu, 14 Oct 2004 08:19:02 GMT]]></title><description><![CDATA[<p>Siehe die <a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39305" rel="nofollow">FAQ</a> unter &quot;Dateien+Verzeichnisse&quot;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/628492</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/628492</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Thu, 14 Oct 2004 08:19:02 GMT</pubDate></item></channel></rss>