MORE--Note Sources of data When using the redirection character (<), you must specify a filename as the source. When using the pipe (|), you can use such commands as DIR, SORT, and TYPE. Before using a pipe for redirection, you should set the TEMP environment variable in your AUTOEXEC.BAT file.