- Feb
- 11
- 0
The documentation says:
If you enter only name, and there is no variable with that name, SET will display all environment variables whose names begin with name. For example, if there is no variable pa, the command below will display all variables whose names start with pa:
set pa
The above command is equivalent to the command
set pa*
Here is the batch file to test this:
set var1=var1
set var11=var11
set var1
The TCC output:
The cmd.exe output:
Does it look like a bug?
If you enter only name, and there is no variable with that name, SET will display all environment variables whose names begin with name. For example, if there is no variable pa, the command below will display all variables whose names start with pa:
set pa
The above command is equivalent to the command
set pa*
Here is the batch file to test this:
set var1=var1
set var11=var11
set var1
The TCC output:
The cmd.exe output:
Does it look like a bug?