Home > OS > How to get Windows CMD order to perform the return values
How to get Windows CMD order to perform the return values
Time:09-20
Windows environment, want to get the CMD command after the return value of the
Under such as CMD, implement the dir, stdout output in the current directory list, after the execution of the return value how to obtain, want to know how many, the return value is zero or how to print out
Another, Windows have any command line tools, such as in Linux grep, nstat, such as is not to find similar grep, and Windows in the corresponding nstat such commands, but a Linux application is mostly form of the command line, under the Windows there are no command line programs can be installed now
CodePudding user response:
The most convenient option is redirected to a file Grep function can use the find, netstat is not clear, if really doesn't understand a command prompt, can consider to learn power shell, the function more powerful, CMD and shell than function is too weak, powershell function is more complete, If you install the win10, can hold a bash components