S
Stan Brown
In versions of the command prompt like Win98, the ^ (caret or
circumflex, ASCII 94) is just an ordinary character. In the XP
command prompt it's the escape that causes the following character
to be ordinary. Example:
echo P(A^|B) is the conditional probability of A given B
My question is, with which version of Windows did ^ become special?
And is there some environment variable I can test that was created
or changed at the same time?
I need to do something like this, in other words:
set CARET=^^
if "%...%" = "..." set CARET=^
but I don't know how to test reliably for which versions of Windows
do (or don't) make the caret special.
circumflex, ASCII 94) is just an ordinary character. In the XP
command prompt it's the escape that causes the following character
to be ordinary. Example:
echo P(A^|B) is the conditional probability of A given B
My question is, with which version of Windows did ^ become special?
And is there some environment variable I can test that was created
or changed at the same time?
I need to do something like this, in other words:
set CARET=^^
if "%...%" = "..." set CARET=^
but I don't know how to test reliably for which versions of Windows
do (or don't) make the caret special.