I have a web application running in tomcat as a service, When I call a batch file through API where the batch file contains ,
@echo off
setx /M test_path "C:\test"
echo "path set "
And I have another another batch file which is called thorugh another API , it contains
@echo off
echo test_path :: %test_path% > test.log
echo "Got the path"
The %test_path% is not visible to second batch file. I m trying to make it possible without restarting tomcat service .
I need to know whether is it possible ,