问题
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
回答1:
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
来源:https://stackoverflow.com/questions/33946226/what-does-the-single-circumflex-in-the-windows-cmd-shell-mean-more