DOS - SET Command

About

Displays, sets, or removes Windows environment variables.

Example

Windows Path

Set a Windows 8.3 Pathname

set JAVA_HOME=c:\Progra~1\Java\jdk1.8.0_45

REM NOT
REM SET JAVA_HOME="C:\Program Files\Java\jdk1.8.0_45"

Support

Files\Java\jdk1.8.0_45“” was unexpected at this time.

You need to use the Windows 8.3 Pathname notation. See windows path


Powered by ComboStrap