Use the env program so that ... or echo "$inetroot" . I think variable names are case sensitive though (in Bash and therefore MinGW).
These variables are available in MinGW from Windows (user profile and global). Again, use env to list them or, for example, env|grep -i inetroot to find the correct uppercase version of the variable name.
0xC0000022L
source share