Setting the PATH variable isn't the problem, SETX does that just fine and can be done automatically during the install of my software.
echo 1 for maximum echo 2 for fast echo 3 for none echo. If you add something to the PATH variable, it makes it available throughout the entire operating system. echo -goto _gettarget) else (setx _ctarget %_ok% set _ctarget=%_ok% set _append=no setx _append no goto _main))):_getcompr set comp = echo. Substitute in the command above with the actual variable name (ex: "Downloads") you want to use. If you try to delete an old value and add a new one it is very common for the 'delete' to fail and the 'add' to succeed, resulting in duplicate values being added to the path.
exe was not set in the PATH variable, use the method below: Install SQL Command Line Utilities (SQLcmd. If isn't above described anything, the following applies: Technical details: * OS: Windows Server v2008, English, Standard Edition, SP1 ** My User-Account is member of 'Administrators' local security group. Open a Command Prompt window and type SETX /? to know the command usage. To fix this issue, change where this variable is stored in the registry, or add the expected registry path before you execute a setx command.To permanently add the directory to environment variable PATH so that it can work for next others steps, you need use setx or add them into Registry by using reg add. To do so, check for the existence of the path both with and without the trailing slash. setx -m AMAZON_ACCESS_KEY "012343456789" setx -m AMAZON_SECRET_KEY "vmadvgjhgsdjgsdiiuuygdisggksgd" If you check the variables via GUI path – you will see that these variables are added in the correct place. Step 1: Navigate to the Windows Environment Variables screen.The command would then look for instance like this: SETX EWASTE_SCRIPT_PATH "F:\Vincent\Documents\ewaste-master\scripts". Setx append path It's doing this silently so the in HKCU path will look like: HKLM path + HKCU path + current session path + NewDir.