Operating Systems 1 Lab 5 – DOS Environmental Variables
Type ‘set’ into the window. -> This shows a list of all available DOS variables. echo %PATH% --> It shows all paths that contain executable files. echo %SESSIONNAME% ---> When a person connects to a terminal server session, the SESSIONNAME can be seen. But since this is a local terminal it simply displays 'console'. echo %APPDATA% ----> It shows the directory location where applications store their data.