<?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[Konsolenbefehl aus Windowsanwendung?]]></title><description><![CDATA[<p>Hallo,</p>
<p>kann mir evtl jemand sagen wie ich aus einer Win32 Anwendung einen Konsolen Befehl absetzen kann ?<br />
Kann ich irgendeine Rückgabe abfangen, falls dieser fehlschlägt ?</p>
<p>Danke schonmal für eure Antworten.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/65132/konsolenbefehl-aus-windowsanwendung</link><generator>RSS for Node</generator><lastBuildDate>Fri, 05 Jun 2026 06:31:41 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/65132.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Feb 2004 09:03:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Konsolenbefehl aus Windowsanwendung? on Tue, 17 Feb 2004 09:03:10 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>kann mir evtl jemand sagen wie ich aus einer Win32 Anwendung einen Konsolen Befehl absetzen kann ?<br />
Kann ich irgendeine Rückgabe abfangen, falls dieser fehlschlägt ?</p>
<p>Danke schonmal für eure Antworten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/460859</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/460859</guid><dc:creator><![CDATA[cyberforce]]></dc:creator><pubDate>Tue, 17 Feb 2004 09:03:10 GMT</pubDate></item><item><title><![CDATA[Reply to Konsolenbefehl aus Windowsanwendung? on Tue, 17 Feb 2004 09:17:49 GMT]]></title><description><![CDATA[<p>Kannst dir ja mal WinExec anschauen.</p>
<p>Aber wie das da mit Rückgabewerten aussieht, weiß ich jetzt nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/460865</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/460865</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Tue, 17 Feb 2004 09:17:49 GMT</pubDate></item><item><title><![CDATA[Reply to Konsolenbefehl aus Windowsanwendung? on Tue, 17 Feb 2004 09:38:41 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>danke schonmal, aber so wie ich das verstanden habe rufe ich mit WinExec eine Anwendung auf, UND das kommando sollte nur für 16 bit systeme verwendet werden ?<br />
Kann ich nicht irgendwie einen BEfehl direkt an die Kommandozeile senden ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/460884</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/460884</guid><dc:creator><![CDATA[cyberforce]]></dc:creator><pubDate>Tue, 17 Feb 2004 09:38:41 GMT</pubDate></item><item><title><![CDATA[Reply to Konsolenbefehl aus Windowsanwendung? on Tue, 17 Feb 2004 09:59:31 GMT]]></title><description><![CDATA[<p>WinExec ist ihmo das Selbe wie &quot;Start-Ausführen&quot; und da kann man ja auch Anwendungen aufrufen oder einen Befehl eingeben. Wo ist der Unterschied zwischen einem Programmaufruf und einem DOS-Befehl?</p>
<p>Vielleicht kannst du ja auch besser beschreiben, was du machen willst, dann könnte man das vorher ausprobieren, ob der Ratschlag hilft.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/460898</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/460898</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Tue, 17 Feb 2004 09:59:31 GMT</pubDate></item><item><title><![CDATA[Reply to Konsolenbefehl aus Windowsanwendung? on Tue, 17 Feb 2004 10:16:43 GMT]]></title><description><![CDATA[<p>Also ich wollte einfach aus meinem c++ programm einige befehle ausführen und die Ausgabe dann in dateien umlenken lassen (z.b. einen dir &gt; text.txt).<br />
Aber ich probiere es dann mal mit winexec.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/460907</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/460907</guid><dc:creator><![CDATA[cyberforce]]></dc:creator><pubDate>Tue, 17 Feb 2004 10:16:43 GMT</pubDate></item><item><title><![CDATA[Reply to Konsolenbefehl aus Windowsanwendung? on Tue, 17 Feb 2004 13:12:32 GMT]]></title><description><![CDATA[<p>Also mein Problem ist, ich kann zwar die Dos box öffnen, indem ich einfach C:\windows\system32\cmd.exe aufrufe, aber wie kann ich dann einen befehl übergeben, der auch ausgeführt wird ?????</p>
]]></description><link>https://www.c-plusplus.net/forum/post/461092</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/461092</guid><dc:creator><![CDATA[cyberforc]]></dc:creator><pubDate>Tue, 17 Feb 2004 13:12:32 GMT</pubDate></item><item><title><![CDATA[Reply to Konsolenbefehl aus Windowsanwendung? on Tue, 17 Feb 2004 13:28:08 GMT]]></title><description><![CDATA[<p>Kannst du eine Batchdatei aufrufen? Die kannst du ja zur Laufzeit erstellen und wieder löschen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/461111</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/461111</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Tue, 17 Feb 2004 13:28:08 GMT</pubDate></item><item><title><![CDATA[Reply to Konsolenbefehl aus Windowsanwendung? on Tue, 17 Feb 2004 13:31:29 GMT]]></title><description><![CDATA[<p>ShellExecute</p>
]]></description><link>https://www.c-plusplus.net/forum/post/461116</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/461116</guid><dc:creator><![CDATA[bbb]]></dc:creator><pubDate>Tue, 17 Feb 2004 13:31:29 GMT</pubDate></item><item><title><![CDATA[Reply to Konsolenbefehl aus Windowsanwendung? on Tue, 17 Feb 2004 13:33:37 GMT]]></title><description><![CDATA[<p>command(&quot;blabla&quot;)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/461119</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/461119</guid><dc:creator><![CDATA[µ]]></dc:creator><pubDate>Tue, 17 Feb 2004 13:33:37 GMT</pubDate></item><item><title><![CDATA[Reply to Konsolenbefehl aus Windowsanwendung? on Tue, 17 Feb 2004 15:00:14 GMT]]></title><description><![CDATA[<p>Was muss ich denn für das command noch für eine Header datei einbinden ?</p>
<p>Wie funktioniert das mit ShellExecute ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/461233</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/461233</guid><dc:creator><![CDATA[cyberforce]]></dc:creator><pubDate>Tue, 17 Feb 2004 15:00:14 GMT</pubDate></item><item><title><![CDATA[Reply to Konsolenbefehl aus Windowsanwendung? on Tue, 17 Feb 2004 17:53:21 GMT]]></title><description><![CDATA[<p>das steht alles in der MSDN (sogar sehr ausführlich) !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/461403</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/461403</guid><dc:creator><![CDATA[bbb]]></dc:creator><pubDate>Tue, 17 Feb 2004 17:53:21 GMT</pubDate></item></channel></rss>