Dears,
I need to run a below batch file with KNIME, to get ping result of the many URL.
Is there any way to running batch file and get result in Knime?
@echo off
for /f "delims=" %%a in ( ' type "e:\url-list.txt" ' ) do ping -n 1 %%a >nul && (echo %%a ok) || (echo %%a failed to respond)
pause
I’ve been using something similar to this, but never collected the StdOutput of my called program. I’m gonna steal this, it’s very useful to me. Thank you =)