1

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?

Hafnernuss
  • 2,659
  • 2
  • 29
  • 41

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,720
  • 2
  • 35
  • 65