擅长:python、mysql、java
<p>检查<a href="https://github.com/npocmaka/batch.scripts/blob/master/hybrids/jscript/winhttpjs.bat" rel="nofollow">winhttpjs.bat</a>-它会将http请求的http响应代码设置为错误级别:</p>
<pre><code>@echo off
call winhttpjs.bat http://google.com -saveto con >nul
if errorlevel 200 if not errorlevel 300 echo site is available
</code></pre>