批量自动获取状态码

@echo off
 color 1A
 setlocal enabledelayedexpansion
 echo 
 echo *  正在自动检测域名,请稍后……..*
 echo 
 pushd "C:\Users\%username%\Desktop"
 if exist urlcode.txt (del urlcode.txt goto Working)
 :Working
 for /f " tokens=1 delims=" %%i in (url.txt) do (set /p=%%i>urlcode.txt
 echo * echo 域名检测完毕,请查看桌面urlcode.txt…….. echo *
 pause
 exit

发表评论