netstat -an | find "25000" || ver>nul
If the find command raises errorlevel, execute a command that resets it., in this case the ver command is used and its output discarded
find
ver