开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜