<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Get the application path</title><link>https://www.infopathdev.com:443/forums/thread/14829.aspx</link><pubDate>Mon, 09 Oct 2006 06:30:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14829</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14829</wfw:commentRss><description>Hi Kay,&lt;br /&gt;You can do this but it will require full trust and that is a bad practice since it complicates deployment. Check out the InfoPath SDK for the correct execution command as it varies depending on the language your form uses.</description></item><item><title>Get the application path</title><link>https://www.infopathdev.com:443/forums/thread/12959.aspx</link><pubDate>Fri, 06 Oct 2006 09:35:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12959</guid><dc:creator>Alison</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12959.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12959</wfw:commentRss><description>I want to create a button on my form which runs an exe.I think I can do this by doing Shell "$:\MyPath\My.exe". &lt;br /&gt;&lt;br /&gt;Is it possible to use the shell command in infopath and if so is it possible to detect the application path in order to determine teh exe path without hard coding it?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Kay</description></item></channel></rss>