How can I display the contents of an environment variable from the . . . 884 In Windows Command-Prompt the syntax is echo %PATH% To get a list of all environment variables enter the command set without any parameters To send those variables to a text file enter the command set > filename txt Related How to list global environment variables separately from user-specific environment variables?
Open CMD as admin with Windows+R shortcut - Super User My preference for running CMD is to use Windows+R » type cmd » Enter But this doesn't open it with admin rights Is there a way to type your way through to command prompt with admin rights?
How to set an alias in Windows Command Line? - Super User Possible duplicate of Is there a command to change path from current location to default directory, in Windows command prompt? Specifically, see my answer to know how you can have your DOSKey macros be auto-loaded when the Command Prompt is opened
How can I check the size of a folder from the Windows command line . . . 69 I want to use the Windows command line to calculate the size of all the files in a folder and subfolder I would normally do this by right-clicking on the folder and clicking "Properties" but I want to be able to do it on the command line Which command can I use?