<?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,Einfügen,Umbennen]]></title><description><![CDATA[<p>Wie kann ich in meinem C++ Programm Kopieren,Einfügen,Umbennen,etc.?</p>
<p>PS:Ich bin noch Anfänger in WinAPI .Gibt es irgendeine Liste mit allen Funktionen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/71734/kopieren-einfügen-umbennen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 22:00:09 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/71734.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Apr 2004 11:56:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 11:56:41 GMT]]></title><description><![CDATA[<p>Wie kann ich in meinem C++ Programm Kopieren,Einfügen,Umbennen,etc.?</p>
<p>PS:Ich bin noch Anfänger in WinAPI .Gibt es irgendeine Liste mit allen Funktionen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/505995</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/505995</guid><dc:creator><![CDATA[thomas89]]></dc:creator><pubDate>Wed, 21 Apr 2004 11:56:41 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 12:50:17 GMT]]></title><description><![CDATA[<p>liste<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/dataexchange/clipboard.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/dataexchange/clipboard.asp</a></p>
<p>und so benutzt du sie<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/DataExchange/Clipboard/UsingtheClipboard.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/DataExchange/Clipboard/UsingtheClipboard.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/506054</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506054</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Wed, 21 Apr 2004 12:50:17 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 12:51:39 GMT]]></title><description><![CDATA[<p>Den Link zur MSDN-Library (Doku zur WinAPI) findest du über dem Forum <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>Zum Kopieren,Einfügen,Umbennen: könntest du etwas genauer sagen, was du vorhast. Also was, von wo nach wo kopiert werden soll?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/506056</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506056</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Wed, 21 Apr 2004 12:51:39 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 13:09:51 GMT]]></title><description><![CDATA[<p>ich würd gern ne file von ner Cd(keine .exe)auf Festplatte kopieren ,am besten noch umbenennen.</p>
<p>Ich hab schon MoveFile() benutzt,funzt aber nich :-(.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/506078</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506078</guid><dc:creator><![CDATA[thomas89]]></dc:creator><pubDate>Wed, 21 Apr 2004 13:09:51 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 13:22:08 GMT]]></title><description><![CDATA[<p>Verschieben heißt, dass die Datei nachher nicht mehr auf der CD wäre, was im Normalfall nicht geht<br />
-&gt; kopieren, also mit CopyFile <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>PS: Mit unserer ersten Vermutung lagen wir aber ganz schön daneben <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/506092</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506092</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Wed, 21 Apr 2004 13:22:08 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 13:25:38 GMT]]></title><description><![CDATA[<p>Danke!<br />
Flenders ich denk du kannst schon ziemlich gut programmieren.Kannst du mir sagen welche Bücher oder so du gelesen hast?</p>
<p>PS:CopyFile verhält sich genauso wie MoveFile?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/506098</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506098</guid><dc:creator><![CDATA[thomas89]]></dc:creator><pubDate>Wed, 21 Apr 2004 13:25:38 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 13:31:38 GMT]]></title><description><![CDATA[<p>flenders schrieb:</p>
<blockquote>
<p>PS: Mit unserer ersten Vermutung lagen wir aber ganz schön daneben <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
</blockquote>
<p>stimmt <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/506104</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506104</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Wed, 21 Apr 2004 13:31:38 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 13:34:10 GMT]]></title><description><![CDATA[<p>thomas89 schrieb:</p>
<blockquote>
<p>PS:CopyFile verhält sich genauso wie MoveFile?</p>
</blockquote>
<p>nein copy == kopieren und move == verschieben <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> wie der name schon sagt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/506109</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506109</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Wed, 21 Apr 2004 13:34:10 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 13:35:01 GMT]]></title><description><![CDATA[<p>Problemo!<br />
wenn ich CopyFile(&quot;blablabla&quot;,&quot;lalala&quot;)kommt funktion does not support two parameters<br />
Muss da noch ne Einfügen Version ran?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/506110</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506110</guid><dc:creator><![CDATA[thomas89]]></dc:creator><pubDate>Wed, 21 Apr 2004 13:35:01 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 13:41:38 GMT]]></title><description><![CDATA[<p>der 3. parameter ist ein Flag ob die Datei falls vorhanden überschrieben werden soll:</p>
<p>MSDN schrieb:</p>
<blockquote>
<p>The CopyFile function copies an existing file to a new file.</p>
<p>BOOL CopyFile(<br />
LPCTSTR lpExistingFileName,<br />
// pointer to name of an existing file<br />
LPCTSTR lpNewFileName, // pointer to filename to copy to<br />
BOOL bFailIfExists // flag for operation if file exists<br />
);</p>
<p>Parameters<br />
lpExistingFileName<br />
Pointer to a null-terminated string that specifies the name of an existing file.<br />
lpNewFileName<br />
Pointer to a null-terminated string that specifies the name of the new file.<br />
bFailIfExists<br />
Specifies how this operation is to proceed if a file of the same name as that specified by lpNewFileName already exists. If this parameter is TRUE and the new file already exists, the function fails. If this parameter is FALSE and the new file already exists, the function overwrites the existing file and succeeds.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/506119</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506119</guid><dc:creator><![CDATA[Rodney]]></dc:creator><pubDate>Wed, 21 Apr 2004 13:41:38 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 13:52:37 GMT]]></title><description><![CDATA[<p>Danke,aber jetzt raff ich immer noch nicht durch.<br />
1.Warum BOOL<br />
2.Muss der pointer nich erst mal initialisiert werden?<br />
3.Wie kriegt man nun den Quellpfad rein?<br />
is IpExisting FileNamee nur nen Synonym für C:\und so weiter oder is es nen string?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/506131</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506131</guid><dc:creator><![CDATA[thomas89]]></dc:creator><pubDate>Wed, 21 Apr 2004 13:52:37 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 14:02:23 GMT]]></title><description><![CDATA[<p>Ich denke du solltest dir erstmal ein C/C++-Buch anschauen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
<p>BOOL ist der Rückgabetyp - damit meldet die Funktion, ob der Vorgang geklappt hat, oder nicht<br />
LPCTSTR ist ein Pointer zu einer Zeichenkette</p>
<p>z.B. so:</p>
<pre><code class="language-cpp">if(!CopyFile(&quot;e:\\dir1\\anwendung.exe&quot;,&quot;d:\\da\\soll\\sie\\hin\\anwendung.exe&quot;,TRUE))
{
  // es gab einen Fehler beim kopieren!!
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/506150</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506150</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Wed, 21 Apr 2004 14:02:23 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 14:07:55 GMT]]></title><description><![CDATA[<p>ja ich wusste auch was BOOL ist habs bloß nicht gecheckt! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /><br />
Aber so was wie deine Beschreibung hat mir gefehlt!Musste über mich selbst lachen!! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Ich hab das Buch Jetzt lerne ich C++ fast gelesen ,was empfiehlste mir weiter (oder auch die anderen ?)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/506155</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506155</guid><dc:creator><![CDATA[thomas89]]></dc:creator><pubDate>Wed, 21 Apr 2004 14:07:55 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 15:03:45 GMT]]></title><description><![CDATA[<p>Ich kriegdie Krise !<br />
Klappt nicht!<br />
Kuckt euch das ma an:</p>
<p>#include &lt;iostream.h&gt;<br />
#include &lt;windows.h&gt;</p>
<p>BOOL CopyFile(LPCTSTR IpExistingFileName,LPCTSTR IpNewFileName,BOOL bFailIfExists);</p>
<p>int main()<br />
{<br />
BOOL CopyFile(&quot;F:\\lalala.ocd&quot;,&quot;C:\\Programme\\hallo.ocd&quot;);<br />
{<br />
cout&lt;&lt;&quot;In Funktion CopyFile&quot;;<br />
}<br />
return 0;<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/506226</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506226</guid><dc:creator><![CDATA[thomas89]]></dc:creator><pubDate>Wed, 21 Apr 2004 15:03:45 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 15:26:10 GMT]]></title><description><![CDATA[<p>Lass mal die Funktionsdeklaration weg und schau dir mein Beispiel nochmal an - CopyFile hat 3 Parameter und die ersten beiden hast du vertauscht.</p>
<p>Als Buch solltest du dir (wenn ich das hier sehe) erstmal noch ein (paar) C/C++-Bücher durcharbeiten bevor du mit WinAPI anfängst <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/506255</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506255</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Wed, 21 Apr 2004 15:26:10 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 15:50:21 GMT]]></title><description><![CDATA[<p>Vielen Dank für deine Ratschläge.<br />
Aber der Programmier_Novize hat noch n Problem:<br />
Ich hab das am Anfang weggelassen,hab die beiden vertauscht(C:an erster und F: an zweiter Stelle)und hab dann TRUE hinten dran geschrieben.Dann kam too many initializers.<br />
Soll ichs aufgeben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/506278</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506278</guid><dc:creator><![CDATA[thomas89]]></dc:creator><pubDate>Wed, 21 Apr 2004 15:50:21 GMT</pubDate></item><item><title><![CDATA[Reply to Kopieren,Einfügen,Umbennen on Wed, 21 Apr 2004 15:55:34 GMT]]></title><description><![CDATA[<p>Einfach nur</p>
<pre><code class="language-cpp">CopyFile(&quot;C:\\Programme\\hallo.ocd&quot;,&quot;F:\\lalala.ocd&quot;,TRUE);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/506286</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/506286</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Wed, 21 Apr 2004 15:55:34 GMT</pubDate></item></channel></rss>