Add/edit PATH environment variable in Windows 10

2Girls1CPU · 241K views · 2020 · 3:02

Open on YouTube

Testing, debugging & developer toolsSoftware (other)tutorial

Why Stack Overflow recommends it

Stack Overflow users link it when an answer depends on a program being on the Windows PATH or on setting a system environment variable, such as PDFtk, a C++ compiler's bin folder, or JAVA_TOOL_OPTIONS.

Recommended by 3 people across 3 different months, 2021 to 2023.

What it is

A short screen-capture tutorial showing how to add a directory to the PATH environment variable on Windows 10 through the System Properties dialog, with a command-line alternative using setx. The example adds Python 3 to PATH, but the steps work for any program.

What people said

Recommends Amirhossein Nikravan · 2021-11 · Stack Overflow · on “cannot open source file "locale.h" (dependency of "iostream")”

when this happened to me, I added the bin folder in which is in the compiler to system environment variables this video [this video] might help you

Recommends pburgr · 2022-03 · Stack Overflow · on “Trying to import CSV containing Arabic characters to the website by Selenium - Java, but when the data upload to the website it shows like that (???)”

See [this video] how to add the system variable. `JAVA_TOOL_OPTIONS` will be your `Variable name` and `-Dfile.encoding=UTF8` will be it's value.

Recommends Beginner · 2023-03 · Stack Overflow · on “Issue with staplr package in R: set_fields returns the error 'Error: All unnamed arguments must be length 1'”

I had a similar issue with a DIFFERENT function of the R package staplr, and I do not have the problem anymore. I discovered that this library uses the program PDFtk ( [LINK] ). So, I installed the program (It seems that after you install the program you need to set the path environments in the operating system, at least for Windows. I noticed that you are using Linux) (If you want to watch a video about how to do set the path environment with Windows, check this video: [this video] ) (If you want to know how to install PDFtk, check: [LINK] ). I also changed the R profile, or at least I believe that I did it, using the R command libpaths("folder where the R file and the PDF is located"). There ar