Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

system-variable

SETX doesn’t append path to system path variable

December 21, 2023 by Tarik

To piggy-back on @Endoro’s answer (I lack the rep to comment): If you want to change the system-wide environment variables, you have to use /M, a la: setx PATH “%PATH%;C:\Program Files\MySQL\MySQL Server 5.5\bin” /M setx.exe is picky about placement of the /M, BTW. It needs to be at the end.

Categories windows Tags batch-file, cmd, setx, system-variable, windows Leave a comment

How to set java_home on Windows 7?

September 18, 2022 by Tarik

Find JDK Installation Directory First you need to know the installation path for the Java Development Kit. Open the default installation path for the JDK: C:\Program Files\Java There should be a subdirectory like: C:\Program Files\Java\jdk1.8.0_172 Note: one has only to put the path to the jdk without /bin in the end (as suggested on a … Read more

Categories java Tags java, java-home, system-variable, windows-7 Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa