Skip to content

Instantly share code, notes, and snippets.

@hklcf
Created August 4, 2016 11:34
Show Gist options
  • Save hklcf/edb34244e2cce668ffe7bc906a72afbc to your computer and use it in GitHub Desktop.
Save hklcf/edb34244e2cce668ffe7bc906a72afbc to your computer and use it in GitHub Desktop.
@echo off
color 0A
echo -----------------------------------------------------------
echo Copyright (c) 2007 HKLCF. All rights reserved.
echo -----------------------------------------------------------
echo Processing ... Please wait
echo/
echo -----------------------------------------------------------> Netowrk_Test_Report.txt
echo Copyright (c) 2007 HKLCF. All rights reserved.>> Netowrk_Test_Report.txt
echo ----------------------------------------------------------->> Netowrk_Test_Report.txt
echo/>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
echo ipconfig /all>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
ipconfig /all >> Netowrk_Test_Report.txt
echo ipconfig /all ... DONE
echo/>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
echo netstat -e>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
netstat -e >> Netowrk_Test_Report.txt
echo netstat -e ... DONE
echo/>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
echo netstat -na>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
netstat -na >> Netowrk_Test_Report.txt
echo netstat -na ... DONE
echo/>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
echo ping hk.yahoo.com>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
ping hk.yahoo.com >> Netowrk_Test_Report.txt
echo ping hk.yahoo.com ... DONE
echo/>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
echo ping www.google.com.hk>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
ping www.google.com.hk >> Netowrk_Test_Report.txt
echo ping www.google.com.hk ... DONE
echo/>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
echo ping www.hkix.net>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
ping www.hkix.net >> Netowrk_Test_Report.txt
echo ping www.hkix.net ... DONE
echo/>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
echo ping www.yahoo.com.tw>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
ping www.yahoo.com.tw >> Netowrk_Test_Report.txt
echo ping www.yahoo.com.tw ... DONE
echo/>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
echo ping www.youtube.com>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
ping www.youtube.com >> Netowrk_Test_Report.txt
echo ping www.youtube.com ... DONE
echo/>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
echo ping www.honda.com.jp>> Netowrk_Test_Report.txt
echo ------------------------------>> Netowrk_Test_Report.txt
ping www.honda.co.jp >> Netowrk_Test_Report.txt
echo ping www.honda.co.jp ... DONE
echo/
echo/
echo Finished
echo. & pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment