weather.bat

Using wget

@echo off

rem

rem Show weather

rem

wget -qO- "http://www.hko.gov.hk/textonly/forecast/englishwx.htm" | sed -e "s/<[^>]*>//g" | findstr "degree"

rem sed -e :a -e '/$/N; s/\r\n//; ta;'

Using Curl

@echo off

rem

rem Show weather

rem

rem wget -O-

curl "http://www.hko.gov.hk/textonly/forecast/englishwx.htm" | sed -e "s/<[^>]*>//g"

rem sed -e :a -e '/$/N; s/\r\n//; ta;'

You can download curl.exe (Window$ binary of Curl) from: https://curl.haxx.se/download.html

You can download wget.exe (Window$ binary of wget) from: https://eternallybored.org/misc/wget/