variable environment get current user windows and mac code example Example: windows print env variable echo %PATH%