{"id":4195,"date":"2016-10-19T20:46:30","date_gmt":"2016-10-19T18:46:30","guid":{"rendered":"http:\/\/michlstechblog.info\/blog\/?p=4195"},"modified":"2016-10-20T11:43:31","modified_gmt":"2016-10-20T09:43:31","slug":"windows-enable-cmd-command-extensions","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-enable-cmd-command-extensions\/","title":{"rendered":"Windows: Enable cmd command extensions"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_4195 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_4195')){$('.twoclick_social_bookmarks_post_4195').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%3A%20Enable%20cmd%20command%20extensions\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Ato%20check%20if%20command%20extensions%20are%20enabled%20check%20the%20following%20registry%20key%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/windows-enable-cmd-command-extensions\\\/\",\"post_id\":4195,\"post_title_referrer_track\":\"Windows%3A+Enable+cmd+command+extensions\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>to check if command extensions are enabled check the following registry key<br \/>\n<!--more--><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nc:\\&gt; reg query &quot;HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor&quot;  \/v EnableExtensions\r\nHKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor\r\n    EnableExtensions    REG_DWORD    0x1\r\nC:&gt; reg query &quot;HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor&quot;  \/v EnableExtensions\r\nHKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\r\n    EnableExtensions    REG_DWORD    0x1\r\n<\/pre>\n<p>To enable command extensions for a cmd process start it with parameter E:ON<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nC:&gt; cmd.exe \/E:ON\r\n<\/pre>\n<p>or within a batch file<br \/>\n<code><br \/>\nSETLOCAL EnableExtensions<br \/>\n<\/code><\/p>\n<p>Further batch improvements: If you run batch files from a UNC Path cmd generates a warning that the working folder cannot be a UNC path: &#8220;Invalid current directory path. UNC paths are not supported. Defaulting to Windows directory&#8221;. But when you are sure that your commands\/applications supports UNC pathes as working directory you can suppress this by setting<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nc:\\&gt; reg add &quot;HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor&quot; \/v DisableUNCCheck \/d 1 \/t REG_DWORD\r\n<\/pre>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, to check if command extensions are enabled check the following registry key<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[654,47,940,20],"class_list":["post-4195","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-cmd","tag-enable","tag-extensions","tag-windows-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/4195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=4195"}],"version-history":[{"count":2,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/4195\/revisions"}],"predecessor-version":[{"id":4197,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/4195\/revisions\/4197"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=4195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=4195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=4195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}