List all environment variables from the command line
List all environment variables from the command line
List all environment variables from the command line
Re: List all environment variables from the command line
Just do:
```
SET
```
You can also do `SET prefix` to see all variables with names starting with `prefix`.
For example, if you want to read only derbydb from the environment variables, do the following:
```
set derby
```
...and you will get the following:
```
DERBY_HOME=c:\Users\amro-a\Desktop\db-derby-10.10.1.1-bin\db-derby-10.10.1.1-bin
```
```
SET
```
You can also do `SET prefix` to see all variables with names starting with `prefix`.
For example, if you want to read only derbydb from the environment variables, do the following:
```
set derby
```
...and you will get the following:
```
DERBY_HOME=c:\Users\amro-a\Desktop\db-derby-10.10.1.1-bin\db-derby-10.10.1.1-bin
```