<?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[CopyFile-Problem]]></title><description><![CDATA[<p>Hi Leutz!</p>
<p>Ich komm nicht weiter...<br />
Ich möchte eine Datei übers Netzwerk kopieren, geht aber nicht! Jedenfalls glaub ich ging es mal mit nem alten projekt...</p>
<p>Also, so siehts aus:</p>
<pre><code class="language-cpp">CString temp3 = &quot;\\\\ES\\Programme\\a.exe&quot;;
CString temp5 = &quot;C:\\a.exe&quot;;
CopyFile(temp3,temp5,true);
</code></pre>
<p>was mache ich falsch??</p>
<p>Programme ist im Netzwerk freigegeben. Jeder darf Dateien ausführen/kopieren/ansehen, nur nich ändern (standardfreigabe).<br />
Autentifiziert ist der Rechner, der den Code ausführt auch! D.h. er darf zugreifen!</p>
<p>EDIT: wo ich grad dabei bin: gibts ne einfache Methode eine Textdatei komplett auszulesen und in einen CString zu speichern?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/143408/copyfile-problem</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 13:42:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/143408.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 Apr 2006 08:49:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CopyFile-Problem on Sat, 08 Apr 2006 09:05:45 GMT]]></title><description><![CDATA[<p>Hi Leutz!</p>
<p>Ich komm nicht weiter...<br />
Ich möchte eine Datei übers Netzwerk kopieren, geht aber nicht! Jedenfalls glaub ich ging es mal mit nem alten projekt...</p>
<p>Also, so siehts aus:</p>
<pre><code class="language-cpp">CString temp3 = &quot;\\\\ES\\Programme\\a.exe&quot;;
CString temp5 = &quot;C:\\a.exe&quot;;
CopyFile(temp3,temp5,true);
</code></pre>
<p>was mache ich falsch??</p>
<p>Programme ist im Netzwerk freigegeben. Jeder darf Dateien ausführen/kopieren/ansehen, nur nich ändern (standardfreigabe).<br />
Autentifiziert ist der Rechner, der den Code ausführt auch! D.h. er darf zugreifen!</p>
<p>EDIT: wo ich grad dabei bin: gibts ne einfache Methode eine Textdatei komplett auszulesen und in einen CString zu speichern?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1033065</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1033065</guid><dc:creator><![CDATA[Majestix]]></dc:creator><pubDate>Sat, 08 Apr 2006 09:05:45 GMT</pubDate></item><item><title><![CDATA[Reply to CopyFile-Problem on Sat, 08 Apr 2006 16:39:51 GMT]]></title><description><![CDATA[<p>Das wird sonicht funktionieren wenn dann must du das als Netzlaufwerk anmelden. Dann sollte das ohne probs gehen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1033355</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1033355</guid><dc:creator><![CDATA[xyz44]]></dc:creator><pubDate>Sat, 08 Apr 2006 16:39:51 GMT</pubDate></item><item><title><![CDATA[Reply to CopyFile-Problem on Sat, 08 Apr 2006 19:01:40 GMT]]></title><description><![CDATA[<p>kann man netzlaufwerke auf per c++-befehl erstellen/löschen lassen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1033435</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1033435</guid><dc:creator><![CDATA[Majestix]]></dc:creator><pubDate>Sat, 08 Apr 2006 19:01:40 GMT</pubDate></item><item><title><![CDATA[Reply to CopyFile-Problem on Sun, 09 Apr 2006 06:34:17 GMT]]></title><description><![CDATA[<p>gibt es einen weg, netzlaufwerke mit c++ verbinden/trennen zu lassen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1033569</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1033569</guid><dc:creator><![CDATA[Majestix]]></dc:creator><pubDate>Sun, 09 Apr 2006 06:34:17 GMT</pubDate></item><item><title><![CDATA[Reply to CopyFile-Problem on Sun, 09 Apr 2006 11:38:52 GMT]]></title><description><![CDATA[<p>Ja dies ist möglich.<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-101093-and-highlight-is-netshareadd.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-101093-and-highlight-is-netshareadd.html</a><br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stgmgmt/fs/netshareadd.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stgmgmt/fs/netshareadd.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1033700</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1033700</guid><dc:creator><![CDATA[guenni81]]></dc:creator><pubDate>Sun, 09 Apr 2006 11:38:52 GMT</pubDate></item></channel></rss>