Ping an IP, pop-up messages and save results to txt file - VBS
问题 I'm making a simple script that pings an address and save the results in a txt file. The purpose is solely to make it convenient for the lay user that don't know how to: open the "run" box; open cmd; ping an address; copy results; past to a txt file. So far, I have made this .bat file, but I wanted it on vbs for more functionalities and better visual. .BAT APPROACH @ECHO OFF :LOOPSTART time /T >> PingTest.txt ping 1.1.1.1 -n 100 >> %userprofile%\Desktop\PingTest.txt exit GOTO LOOPSTART .VBS