问题
An example of this is:
NET START | FIND "MSSQLSERVER" > nul
回答1:
I don't think this command line does make a lot of sense, but any way:
NET START
lists all running services, the output of this command is sent to the FIND
tool, which searches for the string "MSSQLSERVER" in the input it has been given. If any line of the input matches the search condition find prints these lines an the screen, unless in a case like this, where the input is send to the null device. This is the part : > nul.
来源:https://stackoverflow.com/questions/10849838/what-does-it-mean-to-pipe-from-the-net-start-command-to-the-find-command