I wanted to know how to create a PATH variable and another CLASSPATH in the environment but user variables, NOT OF THE SYSTEM in a .bat file if they are not created
I wanted to know how to create a PATH variable and another CLASSPATH in the environment but user variables, NOT OF THE SYSTEM in a .bat file if they are not created
The variable PATH
is always defined but if you define it for the user
this definition + the one of the system is taken; if you want to save it outside of the .bat it's something else only works for what you run inside it:
IF NO DEFINED PATH SET PATH='YO SIEMPRE ESTOY DEFINIDO'
IF NO DEFINED CLASSPATH SET CLASSPATH=OK
ejecutar X...Y y Z