<?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[ShellExecute()  ohne absolute pfade ???]]></title><description><![CDATA[<p>Titel sagt eigentlich alles</p>
<p>Möchte ein video abspielen über ShellExecute aber das funzt nicht wenn ich keinen absoluten pfad benutze ( C:\bla\bla.avi )</p>
<p>statt ( programmpfad\bla.avi )</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/212447/shellexecute-ohne-absolute-pfade</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 22:17:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/212447.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 May 2008 14:32:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ShellExecute()  ohne absolute pfade ??? on Tue, 06 May 2008 14:32:26 GMT]]></title><description><![CDATA[<p>Titel sagt eigentlich alles</p>
<p>Möchte ein video abspielen über ShellExecute aber das funzt nicht wenn ich keinen absoluten pfad benutze ( C:\bla\bla.avi )</p>
<p>statt ( programmpfad\bla.avi )</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504266</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504266</guid><dc:creator><![CDATA[FragenHans]]></dc:creator><pubDate>Tue, 06 May 2008 14:32:26 GMT</pubDate></item><item><title><![CDATA[Reply to ShellExecute()  ohne absolute pfade ??? on Tue, 06 May 2008 14:37:54 GMT]]></title><description><![CDATA[<p>Verwende für das Working Direcory das Basis Verzeichnis ab dem der relative Pfad gelten soll.</p>
<p>BTW: Was stört Dich an dem absoluten Pfad. Du kannst den Pfad doch jederzeit absolut machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504273</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504273</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 06 May 2008 14:37:54 GMT</pubDate></item><item><title><![CDATA[Reply to ShellExecute()  ohne absolute pfade ??? on Tue, 06 May 2008 14:42:00 GMT]]></title><description><![CDATA[<p>Dann liegt das Video immer in deinem Programmpfad? Dann übergib den doch einfach. Dann hast du's so absolut, wie die Funktion fordert, und so relativ, dass deine exe überall rumliegen darf! Kannst du glaub ich mit GetModuleFileName machen, bin mir da aber nicht sicher...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504279</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504279</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Tue, 06 May 2008 14:42:00 GMT</pubDate></item><item><title><![CDATA[Reply to ShellExecute()  ohne absolute pfade ??? on Tue, 06 May 2008 15:40:57 GMT]]></title><description><![CDATA[<p>bin eine dateiverwaltung am schreiben und dann würde ich die exe später in den obergeordneten ordner tun und dann könnte ich im progg auswählen:</p>
<p>[ordner] musik<br />
[ordner] filme<br />
[ordner] sonstiges</p>
<p>das ich die exe + ordner auf andere partitionen tun kann und das ganze immernoch funktioniert ^^</p>
<p>ich probier mal den vorschlag von _matze aus, hatte ich mir auch schon überlegt, wusste aber nicht, wie das zu realisieren ist</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504305</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504305</guid><dc:creator><![CDATA[FragenHans]]></dc:creator><pubDate>Tue, 06 May 2008 15:40:57 GMT</pubDate></item><item><title><![CDATA[Reply to ShellExecute()  ohne absolute pfade ??? on Tue, 06 May 2008 15:44:44 GMT]]></title><description><![CDATA[<p>bin eine dateiverwaltung am schreiben und dann würde ich die exe später in den obergeordneten ordner tun und dann könnte ich im progg auswählen:</p>
<p>[ordner] musik<br />
[ordner] filme<br />
[ordner] sonstiges</p>
<p>das ich die exe + ordner auf andere partitionen tun kann und das ganze immernoch funktioniert ^^</p>
<p>den vorschlag von _matze wollte ich auch schon realisieren, wusste aber nicht wie.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504307</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504307</guid><dc:creator><![CDATA[FragenHans]]></dc:creator><pubDate>Tue, 06 May 2008 15:44:44 GMT</pubDate></item><item><title><![CDATA[Reply to ShellExecute()  ohne absolute pfade ??? on Tue, 06 May 2008 15:49:28 GMT]]></title><description><![CDATA[<p>ups server spinnt sry für doppelpost</p>
<p>habs hinbekommen:</p>
<pre><code>#include &lt;iostream&gt;
#include &lt;conio&gt;
#include &lt;windows&gt;
#include &lt;cstring&gt;

void main()
{
char path[1000];

GetModuleFileName(NULL,path,1000);

cout&lt;&lt;path;
getch();
}
</code></pre>
<p>ergibt den aktuellen,ABSOLUTEN programmpfad</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504311</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504311</guid><dc:creator><![CDATA[FragenHans]]></dc:creator><pubDate>Tue, 06 May 2008 15:49:28 GMT</pubDate></item></channel></rss>