Usage of Bitwise OR in the following DOS command
I use the following line of code to execute two commands simultaneously:
C:\Users\Me\CLAP.txt | %SystemRoot%\explorer.exe F:\Software
Can't help but wonder how the bitwise OR is used to perform the above.
C:\Users\Me\CL开发者_StackOverflowAP.txt && %SystemRoot%\explorer.exe F:\Software
seems to work fine too.
In this context, the | is the pipe symbol, not a bitwise or. The output of the first command is sent to the input of the next command.
精彩评论