{"id":119,"date":"2025-04-16T14:24:55","date_gmt":"2025-04-16T12:24:55","guid":{"rendered":"https:\/\/duelund.tech\/?p=119"},"modified":"2025-04-16T14:35:09","modified_gmt":"2025-04-16T12:35:09","slug":"enable-calling-an-application-through-command-prompt-by-editing-the-environmental-variables","status":"publish","type":"post","link":"https:\/\/duelund.tech\/index.php\/2025\/04\/16\/enable-calling-an-application-through-command-prompt-by-editing-the-environmental-variables\/","title":{"rendered":"Enable calling an application through command prompt by editing the environmental variables"},"content":{"rendered":"\n<p>Sometimes, you might encounter software that cannot be called directly from the command prompt, which obviously slows down your workflow, since you then have to call the application using the full path. Luckily, it&#8217;s fairly simple to enable this feature for just about any application &#8211; all you need to do is add the application&#8217;s path to the environment variables in Windows.<\/p>\n\n\n\n<p>In today&#8217;s example, I will be using a fresh installation of OpenSSL as a reference point, since that&#8217;s one of the applications I know requires this step. \ud83d\ude42<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Confirm that the application cannot be called from the command prompt<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"740\" height=\"520\" src=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h21_40.png\" alt=\"\" class=\"wp-image-122\" style=\"width:630px;height:auto\" srcset=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h21_40.png 740w, https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h21_40-300x211.png 300w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/figure>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Right-click on the Start menu and select <strong>&#8220;System.&#8221;<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"949\" height=\"627\" src=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h22_09.png\" alt=\"\" class=\"wp-image-123\" style=\"width:629px;height:auto\" srcset=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h22_09.png 949w, https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h22_09-300x198.png 300w, https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h22_09-768x507.png 768w\" sizes=\"auto, (max-width: 949px) 100vw, 949px\" \/><\/figure>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Click on <strong>&#8220;Advanced system settings.&#8221;<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"797\" src=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h22_55-1024x797.png\" alt=\"\" class=\"wp-image-124\" srcset=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h22_55-1024x797.png 1024w, https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h22_55-300x234.png 300w, https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h22_55-768x598.png 768w, https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h22_55.png 1206w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Click on <strong>&#8220;Environment Variables&#8230;&#8221;<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"417\" height=\"476\" src=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h23_15.png\" alt=\"\" class=\"wp-image-125\" style=\"width:370px;height:auto\" srcset=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h23_15.png 417w, https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h23_15-263x300.png 263w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/figure>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>Under <strong>&#8220;System variables,&#8221;<\/strong> select the <strong>&#8220;Path&#8221;<\/strong> variable and click <strong>&#8220;Edit.&#8221;<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"625\" height=\"593\" src=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h23_39.png\" alt=\"\" class=\"wp-image-126\" style=\"width:563px;height:auto\" srcset=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h23_39.png 625w, https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h23_39-300x285.png 300w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/figure>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li>Click <strong>&#8220;New&#8221;<\/strong> and insert the path of the folder containing the <code>.EXE<\/code> files of the application, then click <strong>&#8220;OK.&#8221;<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"511\" src=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_13h50_43.png\" alt=\"\" class=\"wp-image-129\" style=\"width:509px;height:auto\" srcset=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_13h50_43.png 535w, https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_13h50_43-300x287.png 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/figure>\n\n\n\n<ol start=\"7\" class=\"wp-block-list\">\n<li>Click <strong>&#8220;OK&#8221;<\/strong> again, then close the remaining windows.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"622\" height=\"590\" src=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_14h06_34.png\" alt=\"\" class=\"wp-image-130\" style=\"width:551px;height:auto\" srcset=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_14h06_34.png 622w, https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_14h06_34-300x285.png 300w\" sizes=\"auto, (max-width: 622px) 100vw, 622px\" \/><\/figure>\n\n\n\n<ol start=\"8\" class=\"wp-block-list\">\n<li>Open the command prompt and test that you can call one of the <code>.EXE<\/code> files &#8211; in this example, <code>openssl.exe<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"742\" height=\"560\" src=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h25_45.png\" alt=\"\" class=\"wp-image-131\" style=\"width:596px;height:auto\" srcset=\"https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h25_45.png 742w, https:\/\/duelund.tech\/wp-content\/uploads\/2025\/04\/2025-04-16_10h25_45-300x226.png 300w\" sizes=\"auto, (max-width: 742px) 100vw, 742px\" \/><\/figure>\n\n\n\n<p>That&#8217;s it! You can now call the application from the command prompt by simply typing its name instead of the full path. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, you might encounter software that cannot be called directly from the command prompt, which obviously slows down your workflow, since you then have to call the application using the full path. Luckily, it&#8217;s fairly simple to enable this feature for just about any application &#8211; all you need to do is add the application&#8217;s&hellip;&nbsp;<a href=\"https:\/\/duelund.tech\/index.php\/2025\/04\/16\/enable-calling-an-application-through-command-prompt-by-editing-the-environmental-variables\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Enable calling an application through command prompt by editing the environmental variables<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[17],"tags":[49,52,50,47,54,51,53,48],"class_list":["post-119","post","type-post","status-publish","format-standard","hentry","category-windows","tag-call","tag-cmd","tag-command","tag-environmental","tag-openssl","tag-prompt","tag-ps","tag-variables"],"_links":{"self":[{"href":"https:\/\/duelund.tech\/index.php\/wp-json\/wp\/v2\/posts\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/duelund.tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/duelund.tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/duelund.tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/duelund.tech\/index.php\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":3,"href":"https:\/\/duelund.tech\/index.php\/wp-json\/wp\/v2\/posts\/119\/revisions"}],"predecessor-version":[{"id":133,"href":"https:\/\/duelund.tech\/index.php\/wp-json\/wp\/v2\/posts\/119\/revisions\/133"}],"wp:attachment":[{"href":"https:\/\/duelund.tech\/index.php\/wp-json\/wp\/v2\/media?parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/duelund.tech\/index.php\/wp-json\/wp\/v2\/categories?post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/duelund.tech\/index.php\/wp-json\/wp\/v2\/tags?post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}