<?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[Autorun... Helft mir bitte habe Zeitdruck]]></title><description><![CDATA[<p>Hi.</p>
<p>Ich habe ein bisschen Zeitdruck (muss in ca. 1 Std weg und den Schmarren bis morgen gebacken haben)</p>
<p>Also Ich will ein Programm, das folgendes macht:</p>
<p>- Am Anfang nur eine kleine Datei öffnen, das dürfte wohl nicht so schwer sein (weiß trotzdem nicht wie das geht^^)<br />
- Dann noch eine Datei öffnen<br />
- Dann eine Datei (C:\Programme...) löschen<br />
- Dann eine Datei von [CD-Laufwerk]\ nach C:\Programme... kopieren.</p>
<p>Geht das irgendwie? Schon, oder?</p>
<p>Bitte um Hilfe!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/120725/autorun-helft-mir-bitte-habe-zeitdruck</link><generator>RSS for Node</generator><lastBuildDate>Sat, 22 Aug 2026 11:37:26 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/120725.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Sep 2005 18:21:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 18:21:14 GMT]]></title><description><![CDATA[<p>Hi.</p>
<p>Ich habe ein bisschen Zeitdruck (muss in ca. 1 Std weg und den Schmarren bis morgen gebacken haben)</p>
<p>Also Ich will ein Programm, das folgendes macht:</p>
<p>- Am Anfang nur eine kleine Datei öffnen, das dürfte wohl nicht so schwer sein (weiß trotzdem nicht wie das geht^^)<br />
- Dann noch eine Datei öffnen<br />
- Dann eine Datei (C:\Programme...) löschen<br />
- Dann eine Datei von [CD-Laufwerk]\ nach C:\Programme... kopieren.</p>
<p>Geht das irgendwie? Schon, oder?</p>
<p>Bitte um Hilfe!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873086</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873086</guid><dc:creator><![CDATA[The_Saint]]></dc:creator><pubDate>Thu, 15 Sep 2005 18:21:14 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 18:24:25 GMT]]></title><description><![CDATA[<p>Willst du, dass man dir hier das Programm fertig präsentiert - dann bist du hier falsch. Du bekommst nur Lösungen auf konkrete Probleme.</p>
<p>1. Siehe beliebiges Tutorial im Internet, Stichwort: fstream<br />
3. Funktion: remove() aus Standard-C++-Library<br />
4. Auch irgendeine Funktion aus der Standard-C++-Library, kA, findest du sicher bei remove() als Verweis.</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873089</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873089</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Thu, 15 Sep 2005 18:24:25 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 18:28:01 GMT]]></title><description><![CDATA[<p>Sorry, das erwarte Ich natürlich nicht.</p>
<p>Die MSDN ist leider auf englisch, das ist nicht unbedingt meine Stärke <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>Ich werd's jetzt mal selbst versuchen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873090</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873090</guid><dc:creator><![CDATA[The_Saint]]></dc:creator><pubDate>Thu, 15 Sep 2005 18:28:01 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:01:52 GMT]]></title><description><![CDATA[<p>Hier mal ein Anfang:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;io.h&gt;
using namespace std;

int main()
	{

	open(&quot;d:\test.txt&quot;); 

	return 0;
	}
</code></pre>
<p>Her kommt 'ne Meldung, &quot;open: Funktion akzeptiert keine 1 Parameter&quot;</p>
<p>Was hab Ich da falsch gemacht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873103</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873103</guid><dc:creator><![CDATA[The_Saint]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:01:52 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:01:58 GMT]]></title><description><![CDATA[<p>was meinst du mit &quot;datei öffnen?&quot;</p>
<p>asonsten klingt das ganze nach einem batch-script (&quot;del&quot; und &quot;copy&quot;)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873114</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873114</guid><dc:creator><![CDATA[*.b4t]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:01:58 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:03:30 GMT]]></title><description><![CDATA[<p>Löschen: DeleteFile</p>
<p>Kopieren kannst du, indem du die Originaldatei stückweise einliest und das Zeug in die Zieldatei reinschreibst. Oder mit SHFileOperation - musst aber in die Doku schauen, wie das genau geht.</p>
<p>Ist alles natürlich WinAPI, nachdem du die MSDN erwähntest. Schlechtes Englisch? Solltest du dringend verbessern, sonst kommst du wohl nicht weit.</p>
<p>EDIT: Wenn ich mir anschaue, womit du Probleme hast, dann vergiss mal die Idee, dass du in 1 Stunde damit fertig sein könntest...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873115</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873115</guid><dc:creator><![CDATA[Ringding]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:03:30 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:04:38 GMT]]></title><description><![CDATA[<p>^^</p>
<p>Also mir 'Datei öffnen' meine Ich, das meine Anwendung eine bereits existierende Datei (z. B.: .txt oder sonst was) öffnet!<br />
Werd mich nochmal in MSDN umguggen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873117</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873117</guid><dc:creator><![CDATA[The_Saint]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:04:38 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:06:24 GMT]]></title><description><![CDATA[<p>ShellExecute meinst du wahrscheinlich.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873118</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873118</guid><dc:creator><![CDATA[Ringding]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:06:24 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:09:14 GMT]]></title><description><![CDATA[<p>Wie schon gesagt reicht da eine einfache Batch Datei!</p>
<pre><code>batch.bat

c:\file1.extension
c:\file2.extension
del c:\muss_weg.extension
copy d:\source.ext c:\target.ext
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/873124</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873124</guid><dc:creator><![CDATA[FireFlow]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:09:14 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:10:26 GMT]]></title><description><![CDATA[<p>The_Saint schrieb:</p>
<blockquote>
<p>^^</p>
<p>Also mir 'Datei öffnen' meine Ich, das meine Anwendung eine bereits existierende Datei (z. B.: .txt oder sonst was) öffnet!<br />
Werd mich nochmal in MSDN umguggen</p>
</blockquote>
<p>aha. leuchtet ein. und was willst du damit machen? einfach öffnen (zum lesen) geht mit &quot;ifstream i(&quot;die_datei.txt&quot;);&quot;. das bringt dir aber vermutlich nichts.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873127</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873127</guid><dc:creator><![CDATA[*.b4t]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:10:26 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:20:07 GMT]]></title><description><![CDATA[<p>Also, wie Ich sehe, gibt es da offensichtlich mehrere möglichkeiten. Mein Programm sieht derweil so aus:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
using namespace std;

int main()
	{

	system (&quot;C:\test.txt&quot;);

	return 0;
	}
</code></pre>
<p>So funktioniert's auch</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873130</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873130</guid><dc:creator><![CDATA[The_Saint]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:20:07 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:24:04 GMT]]></title><description><![CDATA[<p>FireFlow schrieb:</p>
<blockquote>
<pre><code>batch.bat

c:\file1.extension
c:\file2.extension
del c:\muss_weg.extension
copy d:\source.ext c:\target.ext
</code></pre>
</blockquote>
<p>Was bedeutet den das 'extension' ?<br />
Und bei dieser Zeile:</p>
<pre><code>copy d:\source.ext c:\target.ext
</code></pre>
<p>ist das das 'ext' nur Abkürzung oder soll Ich das, wie bei den anderen Zeilen, ausschreiben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873133</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873133</guid><dc:creator><![CDATA[The_Saint]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:24:04 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:26:07 GMT]]></title><description><![CDATA[<p>.extension ist die endung deiner datei.<br />
und .ext auch.</p>
<p>bei dem bat-file werden &quot;c:\file1.extension&quot; und &quot;c:\file2.extension&quot; ausgeführt, &quot;c:\muss_weg.extension&quot; gelöscht und &quot;d:\source.ext&quot; nach &quot;c:\target.ext&quot; kopiert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873136</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873136</guid><dc:creator><![CDATA[*.b4t]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:26:07 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:45:15 GMT]]></title><description><![CDATA[<p>Yeah, is ja geil... Hat funktioniert <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>So nun zum etwas schwereren... Angenommen, Ich brenne die Anwendung mitsamt der Batch-Datei auf 'nen Datenträger (CD/DVD), funktioniert das dann immer noch?</p>
<p>Und wie verfahre Ich dann, wenn Ich etwas von der DVD auf die Festplatte kopieren möchte? (schließlich kann weiß Ich ja den Laufwerksbuchstaben nicht...)</p>
<p>mfg, TheSaint</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873143</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873143</guid><dc:creator><![CDATA[The_Saint]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:45:15 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:43:09 GMT]]></title><description><![CDATA[<p>du gibst die pfade auf der cd relativ an. auf der platte ablolut.<br />
wenn du &quot;autorun&quot; haben willst, musst du die datei entsprechend nennen. (nachgucken, wie <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/26a0.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--warning"
      title=":warning:"
      alt="⚠"
    />)<br />
achtung: wenn du nach &quot;c:\windows&quot; oder &quot;c:\dokumente und einstellungen&quot; oder int einen anderen systempfad kopieren willst, darfst du das nicht so hinschreiben. du musst dann %WINDIR%, oder wie auch immer die entsprechende variable heißt, nehmen. denn: nicht jeder hat &quot;c:\programme&quot; auch auf &quot;c:\&quot;, und der ordner muss gar nicht &quot;programme&quot; heißen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873156</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873156</guid><dc:creator><![CDATA[*.b4t]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:43:09 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 19:49:16 GMT]]></title><description><![CDATA[<p>Oo, na das wird schwer^^</p>
<p>Also gehen wir mal davon aus, auf C:\ ist Windows installiert und der Ordner Programme heißt Programme.</p>
<p>Wie kann Ich dann etwas von der CD nach C:\Programme kopieren?</p>
<p>Meine Schätzung: <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>
<pre><code>copy _CURRENTDIR_\Ordner\Datei-Name.ext C:\Programme
</code></pre>
<p>Stimmt das?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873166</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873166</guid><dc:creator><![CDATA[The_Saint]]></dc:creator><pubDate>Thu, 15 Sep 2005 19:49:16 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 20:12:51 GMT]]></title><description><![CDATA[<p>entweder</p>
<pre><code>copy \Ordner\Datei-Name.ext C:\Programme
</code></pre>
<p>oder</p>
<pre><code>copy Ordner\Datei-Name.ext C:\Programme
</code></pre>
<p>probiers mal aus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873183</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873183</guid><dc:creator><![CDATA[*.b4t]]></dc:creator><pubDate>Thu, 15 Sep 2005 20:12:51 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 20:16:51 GMT]]></title><description><![CDATA[<p>Danke.</p>
<p>Doch Ich stehe schon wieder vor einem problem (Ich lass euch nicht in Ruhe <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>Wenn Ich jetzt in die .bat-Datei z.b. &quot;C:\Dokumente und Einstellungen\NAME\Desktop\MSN Messenger 7.5.exe&quot; eingebe, funzt das nicht! del und copy gehen aber! Was is da schon wieder falsch?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873188</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873188</guid><dc:creator><![CDATA[The_Saint]]></dc:creator><pubDate>Thu, 15 Sep 2005 20:16:51 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 20:18:56 GMT]]></title><description><![CDATA[<p>The_Saint schrieb:</p>
<blockquote>
<p>Danke.</p>
<p>Doch Ich stehe schon wieder vor einem problem (Ich lass euch nicht in Ruhe <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>Wenn Ich jetzt in die .bat-Datei z.b. &quot;C:\Dokumente und Einstellungen\NAME\Desktop\MSN Messenger 7.5.exe&quot; eingebe, funzt das nicht! del und copy gehen aber! Was is da schon wieder falsch?!</p>
</blockquote>
<p>hast du auch die anführungsstriche mit reingemacht? das musst du bei leerzeichen im dateinamen machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873191</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873191</guid><dc:creator><![CDATA[*.b4t]]></dc:creator><pubDate>Thu, 15 Sep 2005 20:18:56 GMT</pubDate></item><item><title><![CDATA[Reply to Autorun... Helft mir bitte habe Zeitdruck on Thu, 15 Sep 2005 20:20:49 GMT]]></title><description><![CDATA[<p>Ah.... Oki, danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/873193</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/873193</guid><dc:creator><![CDATA[The_Saint]]></dc:creator><pubDate>Thu, 15 Sep 2005 20:20:49 GMT</pubDate></item></channel></rss>