Is there a way to sync windows environment variables with Cygwin?
For example, in CMD echo %inetroot% gives the path to a project build. Is it possible to transfer this env variable to Cygwin such that echo $inetroot provides the same path?
Thanks!
Use the
envprogram to so that … orecho "$inetroot". I think the variable names are case-sensitive, though (in Bash and thus MinGW).Those variables are all available in MinGW from Windows (user profile and global). Again, use
envto list them or for exampleenv|grep -i inetrootto find the properly capitalized version of the variable name.