Environment vars are not being resolved?
Posted: Sat Jan 12, 2019 9:53 pm
Hello!
Did anyone have the problem yet that on the windows openvpn client, the up and down scripts cannot resolve environment variables?
I mean i have a file called "up.bat" , and when i run it manually, everything is working fine.
When OpenVPN runs it after successful connect, then variables like %USERPROFILE% are treated like the string "%USERPROFILE%" and are not resolved.
I do have "script-security 3" in my config. I guess this is right?
My version is OpenVPN GUI (Windows) v 11.10.0.0
ND
Did anyone have the problem yet that on the windows openvpn client, the up and down scripts cannot resolve environment variables?
I mean i have a file called "up.bat" , and when i run it manually, everything is working fine.
When OpenVPN runs it after successful connect, then variables like %USERPROFILE% are treated like the string "%USERPROFILE%" and are not resolved.
I do have "script-security 3" in my config. I guess this is right?
My version is OpenVPN GUI (Windows) v 11.10.0.0
ND