{"id":373,"date":"2009-01-22T18:03:07","date_gmt":"2009-01-22T18:03:07","guid":{"rendered":"http:\/\/www.mjtnet.com\/blog\/?p=373"},"modified":"2009-01-23T16:20:19","modified_gmt":"2009-01-23T16:20:19","slug":"quick-tip-determine-path-of-an-application","status":"publish","type":"post","link":"https:\/\/www.mjtnet.com\/blog\/2009\/01\/22\/quick-tip-determine-path-of-an-application\/","title":{"rendered":"Quick Tip: Determine Path of an Application (Update)"},"content":{"rendered":"<p>When using the RunProgram command in <a href=\"http:\/\/www.mjtnet.com\/macro_scheduler.htm\">Macro Scheduler<\/a> to run an app you usually need to know the path (unless it&#8217;s a system app already in the path) and executable name.  Sometimes it&#8217;s not obvious what that is.  You might start Microsoft Word, or Internet Explorer several times a day without knowing or caring what its exe name and path is.  So when you come to write a macro which calls it how do you find out what it is?  Well you might think to right click on the application&#8217;s shortcut and look at the properties.  But this doesn&#8217;t always help.  If I click on the MS Access shortcut in my Start menu it seems to point to yet another shortcut.  I could locate that shortcut and look at that I suppose, but I&#8217;m an impatient kind of guy and don&#8217;t like being sent around the houses.  No, there&#8217;s a quicker way:<\/p>\n<ul>\n<li>Start the application if it is not already running.<\/li>\n<li>Hit Win-R to get the Run dialog and type <em>msconfig32<\/em> and hit Enter<\/li>\n<li>In the System Information window expand &#8220;Software Environment&#8221; and click on &#8220;Running Tasks&#8221;<\/li>\n<li>You will see a list of running processes with their Path shown in the second column<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-397\" title=\"Running Task Location\" src=\"\/\/www.mjtnet.com\/blog\/wp-content\/uploads\/2009\/01\/runningtasks2.png\" alt=\"Running Task Location\" width=\"475\" height=\"273\" srcset=\"https:\/\/www.mjtnet.com\/blog\/wp-content\/uploads\/2009\/01\/runningtasks2.png 475w, https:\/\/www.mjtnet.com\/blog\/wp-content\/uploads\/2009\/01\/runningtasks2-300x172.png 300w\" sizes=\"(max-width: 475px) 100vw, 475px\" \/><\/p>\n<p>In Vista you can also do the following:<\/p>\n<ul>\n<li>Start the application if it is not already running.<\/li>\n<li>Start Task Manager (which you can do quickly by right clicking on the task bar and selecting &#8220;Task Manager&#8221;).<\/li>\n<li>Look down the list (you can sort it by name or description) to find the application.<\/li>\n<li>Now you can right click on the application&#8217;s entry and select Properties and it will show you it&#8217;s location. Or right click and select &#8220;Open File Location&#8221; to see it in an Explorer window.<\/li>\n<\/ul>\n<p>The location field in the Properties box of Task Manager can be selected, so you can just copy this to Macro Scheduler.<\/p>\n<p>So, even if you don&#8217;t know where an application is installed or what its executable name is, it&#8217;s easy to find that out once it&#8217;s running.<\/p>\n<p>__<\/p>\n<p>Updated 23\/01\/09 for an XP solution. Thanks to Dick Lockey for pointing out my Task Manager solution was Vista only.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When using the RunProgram command in Macro Scheduler to run an app you usually need to know the path (unless it&#8217;s a system app already in the path) and executable name. Sometimes it&#8217;s not obvious what that is. You might start Microsoft Word, or Internet Explorer several times a day without knowing or caring what [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/373"}],"collection":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/comments?post=373"}],"version-history":[{"count":11,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/373\/revisions"}],"predecessor-version":[{"id":390,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/373\/revisions\/390"}],"wp:attachment":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/media?parent=373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/categories?post=373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/tags?post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}