How to escape the > sign on Windows command line?

Posted by MaxVT on Server Fault See other posts from Server Fault or by MaxVT
Published on 2010-03-26T14:39:48Z Indexed on 2010/03/26 14:43 UTC
Read the original article Hit count: 337

Filed under:
|
|

For example, foo -option 10->30 file.ext (this is an actual syntax required) redirects the output to a file named 30. How do I make cmd understand that I would like to pass the actual > character? I've tried several forms of double quotes to no avail.

© Server Fault or respective owner

Related posts about Windows

Related posts about cmd