I’m currently working with another developer on how to get random windows shell commands that are stored in a database to actually execute properly on a target system. The idea is that we’ll Start() a new Process object, and execute the command as arguments.
Check out this screenshot:
What we’re doing here is running the local ECHO command; which will write out another ECHO command to a batch file which we can then execute. A couple neat things which may help you:
The caret (^) character is an escape character for things like <, >, (, ), etc. These are special shell characters.
You can quote the whole string.
I hope this helps the random Google searcher who arrives here.

