Batch Redirection
Contents
Redirections
To redirect a file's contents into a command, try:
: < C:\path\to\file
To redirect a command's STDOUT into a file, try:
: > C:\path\to\file
Use >> instead to append to a file, as opposed to overwriting.
To redirect output into a specific handle, try:
: >&2
To redirect a specific handle into input, try:
: <&3