Command option Sample:setx /K

Search command sample in the internet.It is the result.

setx /K オプション

setx /k <%yourpathhere%>
    How to persistently set an Environmental Variable using a .bat file - Super User : http://superuser.com/questions/1195055/how-to-persistently-set-an-environmental-variable-using-a-bat-file.1

setx のオプション一覧