<?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[Datei kopieren]]></title><description><![CDATA[<p>Hallo Leutz,<br />
ich möchte eine Dateikopieren und versuche das mit folgender Zeile:</p>
<pre><code>CopyFile(path.c_str(), &quot;C:\\Programme\\APro\\images\\Image&quot; + *name.c_str() + *ext.c_str(), false);
</code></pre>
<p>path ist ein Ansistring und gibt den alten Pfad von der Datei an. name ist auch ein Ansistring und hier steht eine automatisch generierte Zahl drin. Im Ansistring ext steht die Endung der Datei.</p>
<p>Das Funktioniert aber nicht. Warum?</p>
<p>MfG<br />
Muecke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/105622/datei-kopieren</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 14:12:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/105622.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Apr 2005 10:36:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Datei kopieren on Fri, 01 Apr 2005 10:36:19 GMT]]></title><description><![CDATA[<p>Hallo Leutz,<br />
ich möchte eine Dateikopieren und versuche das mit folgender Zeile:</p>
<pre><code>CopyFile(path.c_str(), &quot;C:\\Programme\\APro\\images\\Image&quot; + *name.c_str() + *ext.c_str(), false);
</code></pre>
<p>path ist ein Ansistring und gibt den alten Pfad von der Datei an. name ist auch ein Ansistring und hier steht eine automatisch generierte Zahl drin. Im Ansistring ext steht die Endung der Datei.</p>
<p>Das Funktioniert aber nicht. Warum?</p>
<p>MfG<br />
Muecke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/757245</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/757245</guid><dc:creator><![CDATA[Muecke]]></dc:creator><pubDate>Fri, 01 Apr 2005 10:36:19 GMT</pubDate></item><item><title><![CDATA[Reply to Datei kopieren on Fri, 01 Apr 2005 10:50:58 GMT]]></title><description><![CDATA[<p>darum! *****</p>
<p>Muecke schrieb:</p>
<blockquote>
<pre><code>... [b]*[/b]name.c_str() + [b]*[/b]ext...
</code></pre>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/757254</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/757254</guid><dc:creator><![CDATA[**]]></dc:creator><pubDate>Fri, 01 Apr 2005 10:50:58 GMT</pubDate></item><item><title><![CDATA[Reply to Datei kopieren on Fri, 01 Apr 2005 10:53:42 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">AnsiString sZiel = &quot;C:\\Programme\\APro\\images\\Image\\&quot; + name + ext;
CopyFile(path.c_str(), sZiel.c_str(), false);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/757258</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/757258</guid><dc:creator><![CDATA[**]]></dc:creator><pubDate>Fri, 01 Apr 2005 10:53:42 GMT</pubDate></item><item><title><![CDATA[Reply to Datei kopieren on Fri, 01 Apr 2005 11:02:20 GMT]]></title><description><![CDATA[<p>Danke. Das hat mir geholfen.</p>
<p>Sehr vielen Dank nochmal..</p>
<p>MfG<br />
Muecke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/757266</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/757266</guid><dc:creator><![CDATA[Muecke]]></dc:creator><pubDate>Fri, 01 Apr 2005 11:02:20 GMT</pubDate></item></channel></rss>