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.
Windows – How to escape the > sign on Windows command line
command-line-interfacewindowswindows-command-prompt
Related Topic
- Windows – the windows command line command to copy files
- Linux – What’s the reverse DNS command line utility
- Windows – Does Windows have a built-in ZIP command for the command line
- Windows – What’s the command-line utility in Windows to do a reverse DNS look-up
- Windows – Scheduling a Perl script with output redirection
- Detecting a registry key with a space in the path from the CLI (or .bat file)
- Windows – How to display the first N lines of a command output in Windows? (the equivalent of Unix command “head”)
Best Answer
The cmd escape character is
^
so:should work for you