What is “|” symbol used for in batch?
Because its not a command I cant use | /? to find out what it does, and if I have something like Stackoverflow|Stackoverflow (as an example) I’m told “stackoverflow is not a recognized as an internal or external command, operable program or batch file”
The pipe operator
|directs (pipes) the output of the first command to the standard input of the second command. So runningWould first run
somecmd, then gather the output ofsomecmdand runanothercmd, giving it the output ofsomecmdas input. You can read about it in innumerable places, just google “pipe command line” or something like it.