{"id":39657,"date":"2020-07-11T20:51:01","date_gmt":"2020-07-11T20:51:01","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=39657"},"modified":"2020-07-11T20:51:03","modified_gmt":"2020-07-11T20:51:03","slug":"windows-command-prompt-the-where-command","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/windows-command-prompt-the-where-command\/","title":{"rendered":"Windows Command Prompt: the &#8220;where&#8221; command"},"content":{"rendered":"\n<h2>Self-tutoring about Windows: the tutor mentions a neat find.<\/h2>\n<p>I use<\/p>\n<p>where <em>filename<\/em><\/p>\n<p>\nto find the directory location of a file or program. The command doesn&#8217;t change the current directory; rather, it tells the absolute path to the file you&#8217;re mentioning.\n<\/p>\n<p>My understanding is that &#8220;where&#8221; searches from the locations in the PATH list. Moreover, if you want to search a specific directory, you can use the \/R switch:\n<\/p><p>where \/R <em>directory<\/em> <em>filename<\/em><\/p>\n<p>In particular, to search the current directory, I use<\/p>\n<p>where \/R . <em>filename<\/em><\/p>\n\n<p>Source:<\/p>\n<p><a href=\"https:\/\/superuser.com\/questions\/49104\/how-do-i-find-the-location-of-an-executable-in-windows\">superuser.com<\/a><\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about Windows: the tutor mentions a neat find. I use where filename to find the directory location of a file or program. The command doesn&#8217;t change the current directory; rather, it tells the absolute path to the file you&#8217;re &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/windows-command-prompt-the-where-command\/\"> <span class=\"screen-reader-text\">Windows Command Prompt: the &#8220;where&#8221; command<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2959],"tags":[],"class_list":["post-39657","post","type-post","status-publish","format-standard","hentry","category-command-prompt"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/39657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=39657"}],"version-history":[{"count":13,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/39657\/revisions"}],"predecessor-version":[{"id":39670,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/39657\/revisions\/39670"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=39657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=39657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=39657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}