<?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[eingabeaufforderung]]></title><description><![CDATA[<p>Hallo,</p>
<p>kann mir jemand den befehl sagen mit der ich die eingabe aufforderung (DOS) öffnen kann???<br />
wäre echt nett danke</p>
<p>es muss wohl irgendwas mit system sein , oder??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/55746/eingabeaufforderung</link><generator>RSS for Node</generator><lastBuildDate>Tue, 02 Jun 2026 02:41:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/55746.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Nov 2003 10:44:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to eingabeaufforderung on Wed, 19 Nov 2003 10:44:42 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>kann mir jemand den befehl sagen mit der ich die eingabe aufforderung (DOS) öffnen kann???<br />
wäre echt nett danke</p>
<p>es muss wohl irgendwas mit system sein , oder??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/397580</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/397580</guid><dc:creator><![CDATA[gaga]]></dc:creator><pubDate>Wed, 19 Nov 2003 10:44:42 GMT</pubDate></item><item><title><![CDATA[Reply to eingabeaufforderung on Wed, 19 Nov 2003 10:50:22 GMT]]></title><description><![CDATA[<p>Mein Vorschlag wäre:</p>
<pre><code class="language-cpp">::WinExec(_T(&quot;command.com&quot;), SW_SHOW);
</code></pre>
<p>Ist nicht getestet. Vielleicht reicht auch statt <a href="http://command.com" rel="nofollow">command.com</a> ein cmd. Wie bei Ausführen eben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/397588</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/397588</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Wed, 19 Nov 2003 10:50:22 GMT</pubDate></item><item><title><![CDATA[Reply to eingabeaufforderung on Wed, 19 Nov 2003 12:50:47 GMT]]></title><description><![CDATA[<p>nur cmd nehmen, klappt besser...</p>
<p>wenn ich jetzt schon einen pfad drin stehen haben möchte wie mach ich das, wo genau an, welche stelle schreib ich das oder geht das nicht???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/397725</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/397725</guid><dc:creator><![CDATA[gaga]]></dc:creator><pubDate>Wed, 19 Nov 2003 12:50:47 GMT</pubDate></item><item><title><![CDATA[Reply to eingabeaufforderung on Wed, 19 Nov 2003 12:57:00 GMT]]></title><description><![CDATA[<p>Hmm, da weiss ich nix passendes, aber vielleicht hilft dir ja das hier weiter:</p>
<p><a href="http://www.heise.de/ct/faq/result.xhtml?url=/ct/faq/hotline/00/18/07.shtml&amp;words=DOS%20Box" rel="nofollow">http://www.heise.de/ct/faq/result.xhtml?url=/ct/faq/hotline/00/18/07.shtml&amp;words=DOS Box</a></p>
<p>In einer Bos-Box einfach<br />
cmd /?<br />
eingeben.</p>
<p>Wenn du etwas in den &quot;Senden An&quot; Ordner packst, kriegt das den aktuellen Pfad oder Dateinamen als ersten Parameter.</p>
<p>So, das war alles, was ich zu dem Thema kenne.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/397730</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/397730</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Wed, 19 Nov 2003 12:57:00 GMT</pubDate></item><item><title><![CDATA[Reply to eingabeaufforderung on Wed, 19 Nov 2003 13:10:13 GMT]]></title><description><![CDATA[<p>cmd statt <a href="http://command.com" rel="nofollow">command.com</a></p>
<p>danke für den link, werd das bei gelegenheit mal testen..</p>
<p>jemand anderes weiss nicht wie ich das lesen umgehen kann und mir ein beispiel geben....</p>
<p>hab kopfweh und bin daher etwas überfordert mit dem lesen...</p>
<p>aber ich mach das wenn ich keine mehr habe, versprochen....</p>
]]></description><link>https://www.c-plusplus.net/forum/post/397754</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/397754</guid><dc:creator><![CDATA[gaga]]></dc:creator><pubDate>Wed, 19 Nov 2003 13:10:13 GMT</pubDate></item><item><title><![CDATA[Reply to eingabeaufforderung on Wed, 19 Nov 2003 14:13:27 GMT]]></title><description><![CDATA[<p>STARTUPINFO si;<br />
PROCESS_INFORMATION pi;</p>
<p>ZeroMemory( &amp;si, sizeof(si) );<br />
si.cb = sizeof(si);<br />
ZeroMemory( &amp;pi, sizeof(pi) );</p>
<p>if( !CreateProcess(<br />
NULL, // No module name (use command line).<br />
&quot;cmd&quot;, // Command line.<br />
NULL, // Process handle not inheritable.<br />
NULL, // Thread handle not inheritable.<br />
FALSE, // Set handle inheritance to FALSE.<br />
0, // No creation flags.<br />
NULL, // Use parent's environment block.<br />
NULL, // Use parent's starting directory.<br />
&amp;si, // Pointer to STARTUPINFO structure.<br />
&amp;pi ) // Pointer to PROCESS_INFORMATION structure.<br />
)<br />
WaitForSingleObject( pi.hProcess, INFINITE );</p>
<p>CloseHandle( pi.hProcess );<br />
CloseHandle( pi.hThread );</p>
<p>Keine ahnung ob der auch bei MFC klappt.</p>
<p>Mfg</p>
<p>Hansi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/397831</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/397831</guid><dc:creator><![CDATA[Hansi]]></dc:creator><pubDate>Wed, 19 Nov 2003 14:13:27 GMT</pubDate></item><item><title><![CDATA[Reply to eingabeaufforderung on Wed, 19 Nov 2003 14:23:52 GMT]]></title><description><![CDATA[<p>gaga schrieb:</p>
<blockquote>
<p>cmd statt <a href="http://command.com" rel="nofollow">command.com</a></p>
</blockquote>
<p>Quark. Ich habe hier auch Rechner, auf denen es command heisst. Du hast aber normalerweise eine Environment-Variable namens COMSPEC gesetzt. Und genau die solltest Du abfragen. Dann funktioniert das auch auf anderen Rechnern als nur auf Deinem:</p>
<pre><code class="language-cpp">BOOL EingabeAufforderung(VOID)
{
    TCHAR szCmd[MAX_PATH * 2];

    if(!GetEnvironmentVariable(TEXT(&quot;COMSPEC&quot;), szCmd, (sizeof(szCmd) / sizeof(szCmd[0]))))
        return(FALSE);

    return((INT_PTR)ShellExecute(NULL, NULL, szCmd, NULL, NULL, SW_SHOW) &gt; 32);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/397852</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/397852</guid><dc:creator><![CDATA[-King-]]></dc:creator><pubDate>Wed, 19 Nov 2003 14:23:52 GMT</pubDate></item><item><title><![CDATA[Reply to eingabeaufforderung on Thu, 20 Nov 2003 06:56:28 GMT]]></title><description><![CDATA[<p>nix quark wenn ich sage wenn ich command schreibe steht nur mist da, kein anständiger pfad und das prog hängt sich auf.<br />
schreib ich aber cmd, hab ich keine probleme.<br />
so dann dieses COMSPEC hab ich nicht gesetzt, zumindest nicht das ich wüsste.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/398455</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/398455</guid><dc:creator><![CDATA[gaga]]></dc:creator><pubDate>Thu, 20 Nov 2003 06:56:28 GMT</pubDate></item><item><title><![CDATA[Reply to eingabeaufforderung on Thu, 20 Nov 2003 07:55:30 GMT]]></title><description><![CDATA[<p>Hi nochmal,</p>
<p>ich habe jetzt zwei verschiedene teile um die eingabeaufforderung auf zu machen<br />
einmal den hier:</p>
<pre><code class="language-cpp">system( &quot;type system.c&quot; );
</code></pre>
<p>den hab ich aus der msdn, der funktioniert aber nicht so ganz, eröffnet für einen bruchteil von einer sec das fenster und dann ist es auch schon wieder zu.</p>
<p>und dann diesen hier:</p>
<pre><code class="language-cpp">::WinExec((&quot;cmd&quot;), SW_SHOW);
</code></pre>
<p>der macht das fenster einwandfrei auf, aber ich müsste einen pfad eingeben, der beim öffnen des fensters schon drin steht.<br />
ich habe aber keine ahnung wie ich das machen soll.<br />
kann mir jemand sagen wie??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/398479</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/398479</guid><dc:creator><![CDATA[gaga]]></dc:creator><pubDate>Thu, 20 Nov 2003 07:55:30 GMT</pubDate></item></channel></rss>