| Awkward Characters on the Windows Command Line | ||
|---|---|---|
| Character | Special Meaning | How to pass it through to the program |
| space | separates parameters | enclose the whole parameter in quotes " |
| < | input redirection | enclose the whole parameter in quotes " |
| > | output redirection | enclose the whole parameter in quotes ". In both cmd.exe and TakeCommand, if preceeded by \", this is still interpreted as redirection. I have reported this bug, fully expecting the authors to explain it is a feature. |
| | | pipe | enclose the whole parameter in quotes " |
| & | command joiner | enclose the whole parameter in quotes " |
| ' | tick | enclose the whole parameter in quotes " |
| " | parameter delimiter | write it as \" and enclose the whole parameter in quotes ". I suspect this behaviour comes from Java, not the command interpreter. |
| % | macro replace | write it as %%. In Take Command, you also have the option of surrounding the parameter in back quotes (grave `) `%alone`. |
|
|
You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) |
| http://mindprod.com/jgloss/commandline.html | J:\mindprod\jgloss\commandline.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.179.213] | |
| Feedback | You are visitor number 11,149. | |