Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to judge the status of url addresses in batches through bat files

Shulou Source: shulou.com Published: 2022-06-01 13:47:46 10月02日 Update

This article mainly explains "how to judge the status of url addresses in batches through bat files". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let the editor take you to learn "how to judge the status of url addresses in batches through bat files".

The windows system accesses the url connection through curl to determine whether the address provides services normally, and accesses the url address in batches through the ie browser to display the status of the access connection address and the attachment code.

@ echo off

Echo *

Echo * * xxx**

Echo *

Echo Node 1

Start www.baidu.com

Ping-n 5 127.0.0.1 > null

ECHO node one port:

Curl-I www.baidu.com | findstr HTTP

Echo THE END

Pause

Exit

At this point, I believe you have a deeper understanding of "how to judge the status of url addresses in batches through bat files". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Address status file content node learning practical deeper interest practical easy to operate method time more friends browser port system website Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MySQL Shulou Tech Info Linux Apple