<?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[_rmdir]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich versuche in einer schleife mehrere verzeichnisse zu loeschen.<br />
Angeblich soll _rmdir() genau das tun. es kommt aber der Fehlerwert -1 zuruck, und errno ist auf 13 gesetzt. Das zu loeschende verzeichniss ist leer, ich habe die Rechte es zu loeschen(vom explorer aus klappt), der name des Verzeichnisses enthält leerzeichen und eckige Klammern.</p>
<p>was mache ich falsch? kennt jemand eine Abhilfe?</p>
<p>PS<br />
das selbe programm lauft unter linux einwandfrei und loescht auch alles.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/136471/_rmdir</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 21:36:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/136471.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Feb 2006 13:21:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to _rmdir on Fri, 10 Feb 2006 13:21:57 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich versuche in einer schleife mehrere verzeichnisse zu loeschen.<br />
Angeblich soll _rmdir() genau das tun. es kommt aber der Fehlerwert -1 zuruck, und errno ist auf 13 gesetzt. Das zu loeschende verzeichniss ist leer, ich habe die Rechte es zu loeschen(vom explorer aus klappt), der name des Verzeichnisses enthält leerzeichen und eckige Klammern.</p>
<p>was mache ich falsch? kennt jemand eine Abhilfe?</p>
<p>PS<br />
das selbe programm lauft unter linux einwandfrei und loescht auch alles.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/990899</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/990899</guid><dc:creator><![CDATA[etti27]]></dc:creator><pubDate>Fri, 10 Feb 2006 13:21:57 GMT</pubDate></item><item><title><![CDATA[Reply to _rmdir on Fri, 10 Feb 2006 13:45:29 GMT]]></title><description><![CDATA[<p>MSDN schrieb:</p>
<blockquote>
<p>The _rmdir function deletes the directory specified by dirname. The directory must be empty, and <strong>it must not be the current working directory</strong> or the root directory.</p>
</blockquote>
<p>Hast du daran möglicherweise gedacht?</p>
<p>PS: Versuch's unter WinAPI doch mal mit RemoveDirectory().</p>
]]></description><link>https://www.c-plusplus.net/forum/post/990927</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/990927</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Fri, 10 Feb 2006 13:45:29 GMT</pubDate></item><item><title><![CDATA[Reply to _rmdir on Fri, 10 Feb 2006 13:51:42 GMT]]></title><description><![CDATA[<p>[quote=&quot;CStoll&quot;][quote=&quot;MSDN&quot;]The _rmdir function deletes the directory specified by dirname. The directory must be empty, and <strong>it must not be the current working directory</strong> or the root directory.<br />
[/quote]Hast du daran möglicherweise gedacht?<br />
ist gedacht worden.</p>
<p>RemoveDirectory wil auch nicht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/990931</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/990931</guid><dc:creator><![CDATA[etti27]]></dc:creator><pubDate>Fri, 10 Feb 2006 13:51:42 GMT</pubDate></item><item><title><![CDATA[Reply to _rmdir on Fri, 10 Feb 2006 13:58:04 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>habe den Fehler gefunden. Ich hatte noch eine offenen HANDLE in Verzeichniss <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>jetzt klappt alles.</p>
<p>Thanx fuer Hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/990936</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/990936</guid><dc:creator><![CDATA[etti27]]></dc:creator><pubDate>Fri, 10 Feb 2006 13:58:04 GMT</pubDate></item></channel></rss>