<?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[Kopieren von Dateien]]></title><description><![CDATA[<p>Hallo,<br />
ich wuerde geren mein *.EXE datei in ein anderes verzeichniss kopieren.</p>
<p>Weiß jemand wie ich Dateien kopier?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/122755/kopieren-von-dateien</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Jul 2026 19:54:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/122755.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 09 Oct 2005 15:53:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Kopieren von Dateien on Sun, 09 Oct 2005 15:53:37 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich wuerde geren mein *.EXE datei in ein anderes verzeichniss kopieren.</p>
<p>Weiß jemand wie ich Dateien kopier?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/888275</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888275</guid><dc:creator><![CDATA[DiGGi2000]]></dc:creator><pubDate>Sun, 09 Oct 2005 15:53:37 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren von Dateien on Sun, 09 Oct 2005 16:51:49 GMT]]></title><description><![CDATA[<p>Hi, probiers mal mit &quot;CopyFileTo&quot; bzw. guck dir das mal in der Hilfe an. Hier ein kleiner Auszug:<br />
&quot;function CopyFileTo(const Source: string; const Destination: string): Boolean;&quot;</p>
<p>Ansonsten einfach<br />
system(&quot;copy &quot;C:\\Programme\\DeinProgramm\\programm.exe&quot; &quot;C:\\Programme\\Neues Ziel&quot;)<br />
Allerdings musst du vor dem 2. &quot; und dem 3. &quot; ein escape-zeichen setzen. Ich weiß nur grad nicht welches.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/888301</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888301</guid><dc:creator><![CDATA[milo51]]></dc:creator><pubDate>Sun, 09 Oct 2005 16:51:49 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren von Dateien on Sun, 09 Oct 2005 16:56:38 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">system(&quot;copy \&quot;C:\\Programme\\DeinProgramm\\programm.exe\&quot; \&quot;C:\\Programme\\Neues Ziel\&quot;&quot;)
</code></pre>
<p>So müsste das jetzt korrekt sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/888303</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888303</guid><dc:creator><![CDATA[milo51]]></dc:creator><pubDate>Sun, 09 Oct 2005 16:56:38 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren von Dateien on Sun, 09 Oct 2005 17:04:46 GMT]]></title><description><![CDATA[<p>WIN 32 API</p>
<p>CopyFile oder CopyFileEx</p>
<pre><code class="language-cpp">BOOL CopyFile(

    LPCTSTR lpExistingFileName,	// pointer to name of an existing file 
    LPCTSTR lpNewFileName,	// pointer to filename to copy to 
    BOOL bFailIfExists 	// flag for operation if file exists 
   );
</code></pre>
<pre><code class="language-cpp">BOOL CopyFileEx(

    LPCWSTR lpExistingFileName,	// pointer to name of an existing file
    LPCWSTR lpNewFileName,	// pointer to filename to copy to
    LPPROGRESS_ROUTINE lpProgressRoutine,	// pointer to the callback function
    LPVOID lpData,	// to be passed to the callback function
    LPBOOL pbCancel,	// flag that can be used to cancel the operation
    DWORD dwCopyFlags	// flags that specify how the file is copied
   );
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/888308</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888308</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Sun, 09 Oct 2005 17:04:46 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren von Dateien on Sun, 09 Oct 2005 17:04:51 GMT]]></title><description><![CDATA[<p>Danke fuer eure schnellen antworten!!!</p>
<p>es funktionirt...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/888309</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888309</guid><dc:creator><![CDATA[DiGGi2000]]></dc:creator><pubDate>Sun, 09 Oct 2005 17:04:51 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren von Dateien on Sun, 09 Oct 2005 17:16:34 GMT]]></title><description><![CDATA[<p>Welche Variante hast du benutzt? ^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/888316</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888316</guid><dc:creator><![CDATA[milo51]]></dc:creator><pubDate>Sun, 09 Oct 2005 17:16:34 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren von Dateien on Sun, 09 Oct 2005 17:22:54 GMT]]></title><description><![CDATA[<p>deine.. aber da kann ich keine variablen nehmen..<br />
un es oeffnet sich nen WinConsol fenster.. zwar nur ganz kurz aber trozdem..</p>
<p>ich prob gerad des andere...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/888322</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888322</guid><dc:creator><![CDATA[DiGGi2000]]></dc:creator><pubDate>Sun, 09 Oct 2005 17:22:54 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren von Dateien on Sun, 09 Oct 2005 17:47:14 GMT]]></title><description><![CDATA[<p>Doch klar kannst du Variablen nehmen. Die dürfen dann aber nicht in Anführungszeichen stehen</p>
<pre><code class="language-cpp">AnsiString path = &quot;C:\Programme\programm.exe&quot;;
system(&quot;copy &quot; + path + &quot;C:\xyz&quot;);
</code></pre>
<p>ich glaub so müsste das gehen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/888342</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888342</guid><dc:creator><![CDATA[milo51]]></dc:creator><pubDate>Sun, 09 Oct 2005 17:47:14 GMT</pubDate></item></channel></rss>