Skip to content

Instantly share code, notes, and snippets.

@hklcf
Created August 4, 2016 11:35
@echo off
echo -----------------------------------------------------------
echo Copyright (c) 2007 HKLCF. All rights reserved.
echo -----------------------------------------------------------
echo Processing ... Please wait
ipconfig /all > ipconfig_all.txt
ping 192.168.0.1 > ping_gateway.txt
ping 210.6.236.1 > ping_dhcp.txt
ping 203.186.94.20 > ping_dns01.txt
ping 203.186.94.22 > ping_dns02.txt
netstat -e > netstat_e.txt
netstat -na > netstat_na.txt
echo. & pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment