dot before equals in set /p
Posted: 02 Apr 2013 12:58
Hello All!
I keep coming across lines of code like this:
Why is there a dot before the equals sign? What does it do? It doesn’t seem to make any difference whether I leave it in or not. Is it for good luck? Does it keep the bugs away?
Seriously, I presume it’s there for a reason. Someone please enlighten me!
- SB
I keep coming across lines of code like this:
Code: Select all
<nul set /p ".=some text"
Why is there a dot before the equals sign? What does it do? It doesn’t seem to make any difference whether I leave it in or not. Is it for good luck? Does it keep the bugs away?
Seriously, I presume it’s there for a reason. Someone please enlighten me!
- SB