windows 10 add to path environment variable from command line -site:pinterest.* code example Example: set path in windows set path=C:\Program Files\Java\jdk1.6.0_23\bin