<?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[Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen?]]></title><description><![CDATA[<p>Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files, insbesondere die index.dat löschen?</p>
<p>Gruß, Sonja!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/110726/wie-kann-ich-temporäre-dateien-im-ordner-teporäre-internet-files-löschen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 00:45:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/110726.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 23 May 2005 22:42:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Mon, 23 May 2005 22:42:01 GMT]]></title><description><![CDATA[<p>Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files, insbesondere die index.dat löschen?</p>
<p>Gruß, Sonja!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/794649</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794649</guid><dc:creator><![CDATA[Sonja_B.]]></dc:creator><pubDate>Mon, 23 May 2005 22:42:01 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Mon, 23 May 2005 22:50:09 GMT]]></title><description><![CDATA[<p>Windows hat eine Datenträgerbereinigung. Wenn du die aufrufst kannst du anklicken ... bla bla .. siehst du dann.<br />
Die index.dat kann man nur löschen wenn das Dateisystem nicht aktiv ist, wenn Windows gebootet ist geht es nicht.<br />
Mit einer DOS-Bootdisk oder mit Linux oder oder oder geht das aber. Die wird trotz alle dem immer wieder neu erstellt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/794651</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794651</guid><dc:creator><![CDATA[winaffe]]></dc:creator><pubDate>Mon, 23 May 2005 22:50:09 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Mon, 23 May 2005 22:59:51 GMT]]></title><description><![CDATA[<p>Ich hatte eher an eine kleine C-Bibliotheksfunktion gedacht die diese Aufgabe übernehmen soll, die dann natürlich auch unter WINDOWS laufen soll.<br />
Habe aber noch keine Ahnung wie sich das umsetzen läßt!</p>
<p>Gruß, S.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/794654</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794654</guid><dc:creator><![CDATA[Sonja_B.]]></dc:creator><pubDate>Mon, 23 May 2005 22:59:51 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Mon, 23 May 2005 23:28:29 GMT]]></title><description><![CDATA[<p>Du kannst den Ordner der Dateien über die Umgebungsvariablen bestimmen (was glaub u.a. mit der Funktion &quot;getenv&quot; geht).<br />
Und dann kannst du die Dateien darin mit zum Beispiel DeleteFile (ist das Standard??) löschen...</p>
<p>So würd ichs zumindest mal angehen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/794661</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794661</guid><dc:creator><![CDATA[Dago]]></dc:creator><pubDate>Mon, 23 May 2005 23:28:29 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Mon, 23 May 2005 23:39:33 GMT]]></title><description><![CDATA[<p>DeleteFile() Funktioniert leider nicht, da index.dat geöffnet, das heißt von WINDOWS gerade benutzt wird...<br />
Trotzdem Danke!</p>
<p>Sonja</p>
]]></description><link>https://www.c-plusplus.net/forum/post/794667</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794667</guid><dc:creator><![CDATA[Sonja_B.]]></dc:creator><pubDate>Mon, 23 May 2005 23:39:33 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Mon, 23 May 2005 23:43:20 GMT]]></title><description><![CDATA[<p>Bei Daten die zum Zeitpunkt von Windows oder Programmen benutzt werden, ist das Löschen (dieser Daten zu diesem Zeitpunkt) sowieso ausgeschlossen, oder?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/794668</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794668</guid><dc:creator><![CDATA[Dago]]></dc:creator><pubDate>Mon, 23 May 2005 23:43:20 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Tue, 24 May 2005 05:58:55 GMT]]></title><description><![CDATA[<p>Es geht einfach nicht, basta. Außerdem Crossposting. Bei Hanseln die sich nen Frauennamen geben will aber scheinbar trotzdem jeder antworten...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/794692</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794692</guid><dc:creator><![CDATA[Aufklae]]></dc:creator><pubDate>Tue, 24 May 2005 05:58:55 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Wed, 25 May 2005 15:32:09 GMT]]></title><description><![CDATA[<p>und es geht doch! ich hab mal ein bißchen in der microsoft-dokumentation gestöbert und bin da auf die funktionen</p>
<pre><code>#include &lt;wininet.h&gt;

FindFirstUrlCacheEntry()
FindNextUrlCacheEntry()
DeleteUrlCacheEntry()
</code></pre>
<p>gestoßen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/796004</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796004</guid><dc:creator><![CDATA[Konfusius]]></dc:creator><pubDate>Wed, 25 May 2005 15:32:09 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Wed, 25 May 2005 19:45:15 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=403" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/796168</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796168</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Wed, 25 May 2005 19:45:15 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Wed, 25 May 2005 23:10:08 GMT]]></title><description><![CDATA[<p>SHGetSpecialFolderPath() mit CSIDL_INTERNET_CACHE<br />
und dann SHFileOperation() mit FO_DELETE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/796258</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796258</guid><dc:creator><![CDATA[geeky]]></dc:creator><pubDate>Wed, 25 May 2005 23:10:08 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Thu, 26 May 2005 10:29:08 GMT]]></title><description><![CDATA[<p>Hab auch mal sowas gemacht:</p>
<pre><code class="language-cpp">#include &lt;iostream.h&gt; 
#include &lt;windows.h&gt;
#include &lt;stdio.h&gt;
#include &lt;string.h&gt;

typedef struct _WIN32_FIND_DATA { // Struktur für Find*File
    DWORD dwFileAttributes; 
    FILETIME ftCreationTime; 
    FILETIME ftLastAccessTime; 
    FILETIME ftLastWriteTime; 
    DWORD    nFileSizeHigh; 
    DWORD    nFileSizeLow; 
    DWORD    dwReserved0; 
    DWORD    dwReserved1; 
    TCHAR    cFileName[ MAX_PATH ]; 
    TCHAR    cAlternateFileName[ 14 ]; 
}; 

WIN32_FIND_DATA wfd;
HANDLE fHandle;

void delDir(char*);
char* WholePath;
char* add(char*,char*, char*);

int main ()
{
    cout &lt;&lt; &quot;Debug: -&gt; Program start\n&quot;;
    delDir(&quot;C:\\Dokumente und Einstellungen\\Besitzer\\Lokale Einstellungen\\Temporary Internet Files\\&quot;);
    delDir(&quot;C:\\Dokumente und Einstellungen\\Besitzer\\Lokale Einstellungen\\Temp\\&quot;);
    delDir(&quot;C:\\Dokumente und Einstellungen\\Besitzer\\Lokale Einstellungen\\Recent\\&quot;);
    delDir(&quot;C:\\Dokumente und Einstellungen\\Besitzer\\Lokale Einstellungen\\Temporary Internet Files\\Content.IE5\\&quot;);
    delDir(&quot;C:\\WINDOWS\\Temporary Internet Files\\&quot;);
    delDir(&quot;C:\\WINDOWS\\Temporary Internet Files\\Content.IE5\\&quot;);
    delDir(&quot;C:\\WINDOWS\\Cache\\&quot;);
    delDir(&quot;C:\\WINDOWS\\Temp\\&quot;);
    delDir(&quot;C:\\WINDOWS\\system32\\dllcache\\&quot;);
    cout &lt;&lt; &quot;Debug: -&gt; Programm end &lt;-&quot;;
}

void delDir( char *Path)
{
    int number = 0;

    cout &lt;&lt; &quot;Debug: - Direction -&gt; &quot; &lt;&lt; Path &lt;&lt; &quot; &lt;-\n&quot;;

    fHandle=FindFirstFile(add(Path,&quot;*&quot;,&quot;file&quot;),&amp;wfd);  // erstes Handle holen, öffnen

    FindNextFile(fHandle,&amp;wfd); // zweites überspringen weil :/.

    while (FindNextFile(fHandle,&amp;wfd)) // alle Datein durchspielen
    {
        number++;
        if ( remove(add(Path,wfd.cFileName,&quot;file&quot;)) == -1 ) // löschen
        {
            if ( RemoveDirectory(add(Path,wfd.cFileName,&quot;path&quot;)) == 1 )
            {
                cout &lt;&lt; &quot;Debug: -&gt; Dir successfully deleted &lt;-\n&quot;;
            }
            else
            {
                cout &lt;&lt; &quot;Debug - Error -&gt; not deleted file &lt;-\n&quot;;
            }
        }
        else
        {
            cout &lt;&lt; &quot;Debug: -&gt; File successfully deleted &lt;-\n&quot;;
        }
    }

    if (number == 0)
    {
        cout &lt;&lt; &quot;Debug: - Error -&gt; No file in path &lt;-\n&quot;;
    }
    else 
    {
        cout &lt;&lt; &quot;Debug: -&gt; End deleting &lt;-\n&quot;;
        cout &lt;&lt; &quot;Debug: -&gt; Filenumber &quot; &lt;&lt; number &lt;&lt; &quot; &lt;-\n&quot;;
    }

    FindClose(fHandle); // Handle abschliessen
}

char* add( char* Path, char *FileName, char* Search ) // Funktion für String Addition
{
  WholePath = new char[strlen(Path)+strlen(FileName)+1];  // Länge festlegen
  strcpy(WholePath, Path); // erster String rein kopieren
  strcat(WholePath, FileName); // zweiter String anhängen
  if ( FileName != &quot;*&quot; ) 
  {
    cout &lt;&lt; &quot;Debug: - Filename -&gt; &quot; &lt;&lt; FileName &lt;&lt; &quot;&lt;- searchmode -&gt; &quot; &lt;&lt; Search &lt;&lt; &quot;\n&quot;;
  }
  return WholePath;
  delete []WholePath;
}
</code></pre>
<p>Lg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/796491</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796491</guid><dc:creator><![CDATA[*JoE*]]></dc:creator><pubDate>Thu, 26 May 2005 10:29:08 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Thu, 26 May 2005 22:18:43 GMT]]></title><description><![CDATA[<p>Ob das so clever ist Systemordner zu löschen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/796942</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796942</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Thu, 26 May 2005 22:18:43 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich temporäre Dateien im Ordner Teporäre Internet Files löschen? on Mon, 30 May 2005 14:44:47 GMT]]></title><description><![CDATA[<p>Wo wird ein Systemordner gelöscht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/799073</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/799073</guid><dc:creator><![CDATA[*JoE*]]></dc:creator><pubDate>Mon, 30 May 2005 14:44:47 GMT</pubDate></item></channel></rss>