writing a script so that when a certain value is returned it opens cmd. Then using a value that the user has added automatically run a command in cmd. not sure if this is even possible or not but any help would be appreciated. Thanks
Edited - the code before
:OpekaiNetReset
echo "Target IP; host is DOWN!"
echo Enter your target IP
set/p TargetIP="Enter your target IP"
ping %TargetIP%
IF %TargetIP%==packets recieved +1 start cmd.exe
IF %TargetIp%==packets recieved 0 goto OpekaiNetReset
:OpekaiCMD
cls
echo "Target IP; host is UP!"