<?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[Problem mit CopyFile]]></title><description><![CDATA[<p>Ich benutze CopyFile um eine Datei zu kopieren. Aber leider klappt es nur wenn ich den komplette Pfad angebe, also mit C:\... ich möchte das es ungefähr so funktioniert:<br />
CopyFile(&quot;test.exe&quot;, &quot;C:\\test.exe&quot;, true);<br />
Das funktioniert leider nicht, denn im Verzeichnis erscheint keine Datei. Wie kann ich unabhängig vom Pfad mein Programm nach C:\ kopieren?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/87842/problem-mit-copyfile</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 03:38:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/87842.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Oct 2004 15:16:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem mit CopyFile on Mon, 04 Oct 2004 15:16:53 GMT]]></title><description><![CDATA[<p>Ich benutze CopyFile um eine Datei zu kopieren. Aber leider klappt es nur wenn ich den komplette Pfad angebe, also mit C:\... ich möchte das es ungefähr so funktioniert:<br />
CopyFile(&quot;test.exe&quot;, &quot;C:\\test.exe&quot;, true);<br />
Das funktioniert leider nicht, denn im Verzeichnis erscheint keine Datei. Wie kann ich unabhängig vom Pfad mein Programm nach C:\ kopieren?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/620869</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/620869</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Mon, 04 Oct 2004 15:16:53 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit CopyFile on Mon, 04 Oct 2004 15:19:45 GMT]]></title><description><![CDATA[<p>Mit GetModuleFileName() kannste an den vollen Pfad deiner .exe kommen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/620871</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/620871</guid><dc:creator><![CDATA[geeky]]></dc:creator><pubDate>Mon, 04 Oct 2004 15:19:45 GMT</pubDate></item></channel></rss>