| Windows command | Unix command | Notes |
|---|---|---|
| set | env | Set on Windows prints a list of all environment variables. For individual environment variables, set is the same as echo $ on Unix. |
| set Path | export $PATH | Print the value of the environment variable using set in Windows. |
| set PROJ | -- | result: PROJ=c:\project |
| echo %PROJ% | echo $PROJ | result: c:\project |
|