{"id":1247,"date":"2015-10-14T13:58:55","date_gmt":"2015-10-14T16:58:55","guid":{"rendered":"http:\/\/www.franklinjr.com\/blog\/?p=1247"},"modified":"2015-10-14T13:58:55","modified_gmt":"2015-10-14T16:58:55","slug":"adicionar-path-na-variavel-de-ambiente-path-por-linha-de-comando","status":"publish","type":"post","link":"https:\/\/www.franklinjr.com\/blog\/index.php\/2015\/10\/14\/adicionar-path-na-variavel-de-ambiente-path-por-linha-de-comando\/","title":{"rendered":"Adicionar path na vari\u00e1vel de ambiente path por linha de comando"},"content":{"rendered":"<p>O comando que faz essas altera\u00e7\u00f5es \u00e9 o setx<\/p>\n<pre lang=\"bash\" line=\"1\"> \r\nsetx \/m path \"%path%;c:\\teste\"\r\n<\/pre>\n<p>O comando acima grava o caminho c:\\teste na vari\u00e1vel de ambiente path(ap\u00f3s o \/m). %path% \u00e9 a vari\u00e1vel de ambiente com os paths atuais, o \/m \u00e9 o parametro para gravar a n\u00edvel de sistema, e n\u00e3o de usu\u00e1rio.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>O comando que faz essas altera\u00e7\u00f5es \u00e9 o setx setx \/m path &#8220;%path%;c:\\teste&#8221; O comando acima grava o caminho c:\\teste na vari\u00e1vel de ambiente path(ap\u00f3s o \/m). %path% \u00e9 a vari\u00e1vel de ambiente com os paths atuais, o \/m \u00e9 o parametro para gravar a n\u00edvel de sistema, e n\u00e3o de usu\u00e1rio.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51],"tags":[572,573,423],"class_list":["post-1247","post","type-post","status-publish","format-standard","hentry","category-windows","tag-cmd","tag-environment-variable","tag-windows-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\r\n<title>Adicionar path na vari\u00e1vel de ambiente path por linha de comando - Franklin Jr.<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/www.franklinjr.com\/blog\/index.php\/2015\/10\/14\/adicionar-path-na-variavel-de-ambiente-path-por-linha-de-comando\/\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.franklinjr.com\\\/blog\\\/index.php\\\/2015\\\/10\\\/14\\\/adicionar-path-na-variavel-de-ambiente-path-por-linha-de-comando\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/www.franklinjr.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Adicionar path na vari\u00e1vel de ambiente path por linha de comando\"}]}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Adicionar path na vari\u00e1vel de ambiente path por linha de comando - Franklin Jr.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.franklinjr.com\/blog\/index.php\/2015\/10\/14\/adicionar-path-na-variavel-de-ambiente-path-por-linha-de-comando\/","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/www.franklinjr.com\/blog\/index.php\/2015\/10\/14\/adicionar-path-na-variavel-de-ambiente-path-por-linha-de-comando\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/www.franklinjr.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Adicionar path na vari\u00e1vel de ambiente path por linha de comando"}]}]}},"_links":{"self":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1247"}],"version-history":[{"count":3,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1247\/revisions"}],"predecessor-version":[{"id":1251,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1247\/revisions\/1251"}],"wp:attachment":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}