Business needs to retain the Ping result. The command line is as follows:
Ping 192.168.1.1 -n 1000 >test.txt
The test.txt file can be opened to see the correct content.
However, if you use the start command to start ping, the output redirection has no result. The command line is as follows:
Start ping 192.168.1.1 -n 1000 >test.txt
I have checked the DOS online help (start /? and ping /?) and found no solution. I have also searched online and found no clues. I analyzed by myself that it should be that the subsequent output redirection is understood by DOS as a parameter for the start command itself, not for the ping parameter.
I hope it is passed to ping. I hope to get the help of experts.
Ping 192.168.1.1 -n 1000 >test.txt
The test.txt file can be opened to see the correct content.
However, if you use the start command to start ping, the output redirection has no result. The command line is as follows:
Start ping 192.168.1.1 -n 1000 >test.txt
I have checked the DOS online help (start /? and ping /?) and found no solution. I have also searched online and found no clues. I analyzed by myself that it should be that the subsequent output redirection is understood by DOS as a parameter for the start command itself, not for the ping parameter.
I hope it is passed to ping. I hope to get the help of experts.
