<?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[externes Programm starten, inkl. Kommandozeile + Arbeitsverzeichniss]]></title><description><![CDATA[<p>Hallo,</p>
<p>wie kann ich aus einer Winapianwendung heraus ein externes Programm inklusive der Kommandozeile und des Arbeitsverzeichnisses ausführen. Die Forensuch brachte mir nur den Aufruf von z.B. system(&quot;C:\\start.exe&quot;); Also die Kommandozeile mit reinzubringen ist jetzt kein Problem, aber beim Arbeitsverzeichniss happerts dann, welche Alternativen gibt es?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/223673/externes-programm-starten-inkl-kommandozeile-arbeitsverzeichniss</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 05:37:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/223673.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Sep 2008 13:54:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to externes Programm starten, inkl. Kommandozeile + Arbeitsverzeichniss on Mon, 29 Sep 2008 13:54:40 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>wie kann ich aus einer Winapianwendung heraus ein externes Programm inklusive der Kommandozeile und des Arbeitsverzeichnisses ausführen. Die Forensuch brachte mir nur den Aufruf von z.B. system(&quot;C:\\start.exe&quot;); Also die Kommandozeile mit reinzubringen ist jetzt kein Problem, aber beim Arbeitsverzeichniss happerts dann, welche Alternativen gibt es?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1590275</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1590275</guid><dc:creator><![CDATA[Unnwisssend]]></dc:creator><pubDate>Mon, 29 Sep 2008 13:54:40 GMT</pubDate></item><item><title><![CDATA[Reply to externes Programm starten, inkl. Kommandozeile + Arbeitsverzeichniss on Mon, 29 Sep 2008 14:17:06 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">HINSTANCE ShellExecute(

    HWND hwnd,	// handle to parent window
    LPCTSTR lpOperation,	// pointer to string that specifies operation to perform
    LPCTSTR lpFile,	// pointer to filename or folder name string
    LPCTSTR lpParameters,	// pointer to string that specifies executable-file parameters 
    LPCTSTR lpDirectory,	// pointer to string that specifies default directory
    INT nShowCmd 	// whether file is shown when opened
   );
</code></pre>
<p>operation sollte &quot;open&quot; sein</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1590291</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1590291</guid><dc:creator><![CDATA[vlad_tepesch]]></dc:creator><pubDate>Mon, 29 Sep 2008 14:17:06 GMT</pubDate></item><item><title><![CDATA[Reply to externes Programm starten, inkl. Kommandozeile + Arbeitsverzeichniss on Mon, 29 Sep 2008 15:07:26 GMT]]></title><description><![CDATA[<p>Dank schön. Mittlerwile bin ich die Forensuche mit anderen Suchbegriffen durchgegangen und auch schon irgendwo drauf gestossen.<br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1590333</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1590333</guid><dc:creator><![CDATA[Unnwisssend]]></dc:creator><pubDate>Mon, 29 Sep 2008 15:07:26 GMT</pubDate></item></channel></rss>