0

This might not be really a question related to programming, but i have wondered for a long time, what the following cmd command means....:

^

Just type a single circumflex in the cmd shell and windows will ask for more... And as long as you enter an even number of circumflexes, windows can't get enough. I have wondered since Vista... is this just some sort of "easter egg" or is there a purpose behind this?

  • Philipp
Hafnernuss
  • 2,127
  • 2
  • 24
  • 35

1 Answers1

3

It appears appending ^ just lets you continue to write a command in the next line:

C:\Users\Felk>echo ^
More? hello ^
More? world
hello world

Turns out ^ is just the escape character for the windows shell.

C:\Users\Felk>echo |
Syntaxerror.

C:\Users\Felk>echo ^|
|

Also see this answer

Community
  • 1
  • 1
Felk
  • 7,001
  • 2
  • 32
  • 58