<?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[DOS-Dateiname]]></title><description><![CDATA[<p>Ich suche eine Möglichkeit unter WIN 2000 oder Win XP aus einem langen Verzeichnis + Dateinamen den DOS-Verzeichnis + Dateinamen zu ermitteln<br />
(6 Zeichen + &quot;~&quot; + Zahl)[cpp]. Kennt jemand eine Möglichkeit?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/132492/dos-dateiname</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 07:28:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/132492.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Jan 2006 11:48:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DOS-Dateiname on Wed, 11 Jan 2006 11:48:54 GMT]]></title><description><![CDATA[<p>Ich suche eine Möglichkeit unter WIN 2000 oder Win XP aus einem langen Verzeichnis + Dateinamen den DOS-Verzeichnis + Dateinamen zu ermitteln<br />
(6 Zeichen + &quot;~&quot; + Zahl)[cpp]. Kennt jemand eine Möglichkeit?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/963441</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/963441</guid><dc:creator><![CDATA[udursun]]></dc:creator><pubDate>Wed, 11 Jan 2006 11:48:54 GMT</pubDate></item><item><title><![CDATA[Reply to DOS-Dateiname on Wed, 11 Jan 2006 12:16:38 GMT]]></title><description><![CDATA[<p>Such mal lieber unter WinAPI - ANSI C++ hat bestimmt keine Möglichkeit dazu, weil das systemabhängig ist.</p>
<p>Unter Windows würde ich z.B. so etwas versuchen:</p>
<pre><code class="language-cpp">WIN32_FIND_DATA fdat;
HANDLE h=FindFirstFile(dateiname,&amp;fdat);
FindClose(h);

cout&lt;&lt;&quot;Kompletter Name:&quot;&lt;&lt;fdat.cFileName&lt;&lt;endl;
cout&lt;&lt;&quot;Kurzer Name:&quot;&lt;&lt;fdat.cAlternateFileName&lt;&lt;endl;
</code></pre>
<p>(aber da gibt's sicher einen schnelleren Weg)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/963476</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/963476</guid><dc:creator><![CDATA[CStoll (off)]]></dc:creator><pubDate>Wed, 11 Jan 2006 12:16:38 GMT</pubDate></item><item><title><![CDATA[Reply to DOS-Dateiname on Wed, 11 Jan 2006 13:38:47 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/963571</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/963571</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Wed, 11 Jan 2006 13:38:47 GMT</pubDate></item><item><title><![CDATA[Reply to DOS-Dateiname on Wed, 11 Jan 2006 13:45:27 GMT]]></title><description><![CDATA[<p>Wenn Du den ganzen Pfad mit dem kurzen Dateinamen haben willst kannst Du auch &quot;GetShortPathName&quot; verwenden...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/963578</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/963578</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Wed, 11 Jan 2006 13:45:27 GMT</pubDate></item></channel></rss>