Environment variables in an operating system are values that contain information about the system environment, and the currently logged in user. They existed in OSes before Windows as well, such as MS-DOS. Applications or services can use the information defined by environment variables to determine various things about the OS, for example, to detect the number of processes, the currently logged in user's name, the folder path to the current user's profile or the temporary files directory. Recently I covered how to view those variables for system, for a specific user or for a process. In this article, I would like to share with you a trick to view or edit environment variables directly, from the command line or a shortcut.