retrieved environment variable values were null.
I still don't understand where you get errors. Thus, I'll try to guess :-)
In MSYS2 environment:
```
$ set | grep FOO
```
shows nothing. That's fine. Go on:
```
$ export FOO=foobar
$ set | grep FOO
FOO=foobar
```
Thus, `${FOO}` isn't "unset".
```
$ unset FOO
$ export FOO=boo; echo ${FOO}
boo
```
The variable is set again.
```
$ unset FOO
$ export FOO=../sample25c; start cmd
```
Inside new CMD window:
```
prompt> echo %FOO%
../sample25.c
```
Did I guessed correctly? :-)
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users