What symbols have to be escaped in cmd.exe command line?
I've trouble with finding a list of all symbols that need to be treated
specially in Windows cmd.exe command line.
For example,
C:\Users\boda>echo ">"
Outputs:
">"
But
C:\Users\boda>echo '>'
Doesn't output anything.
Similarly none of these work:
C:\Users\boda>echo \'>\'
C:\Users\boda>echo \'\>\'
C:\Users\boda>echo '\>'
There are similar issues with characters | and ^ and probably more.
Does anyone know how to use raw strings in cmd.exe?
No comments:
Post a Comment