sbux_Sim项目

日期 2018-12-10 默认分类 作者 donny 共0评论

823

@echo off
color f0
ping 172.170.8.23
@ECHO ===================
@ECHO Aisino_Wincor Donny.
@ECHO ===================
@echo off
pause

ebuy

@echo off
color f0
for /f tokens^=1^,2^ delims^=^"^" %%a in ('wmic nicconfig get IPAddress /value ^| findstr /i "IPAddress=[^]"') do (set "ip=%%b")
echo,  IPAddress: %ip%
for /f "tokens=1,2,3,4 delims=." %%a in ('echo %ip%') do (set "IP=%%a.%%b.%%c.6")
ping %IP%
for /f "tokens=1,2,3,4 delims=." %%a in ('echo %ip%') do (set "IP=%%a.%%b.%%c.7")
ping %IP%
@ECHO ===================
@ECHO Aisino_Wincor Donny.
@ECHO ===================
@echo off
pause

ipcon

@echo off
color f0
ipconfig
@ECHO ===================
@ECHO Aisino_Wincor Donny.
@ECHO ===================
@echo off
pause

pos

@echo off
color f0
for /f tokens^=1^,2^ delims^=^"^" %%a in ('wmic nicconfig get IPAddress /value ^| findstr /i "IPAddress=[^]"') do (set "ip=%%b")
echo,  IPAddress: %ip%
for /f "tokens=1,2,3,4 delims=." %%a in ('echo %ip%') do (set "IP=%%a.%%b.%%c.21")
ping %IP%
for /f "tokens=1,2,3,4 delims=." %%a in ('echo %ip%') do (set "IP=%%a.%%b.%%c.22")
ping %IP%
@ECHO ===================
@ECHO Aisino_Wincor Donny.
@ECHO ===================
@echo off
pause

合并

@echo off
start 823.bat
start ipcon.bat
start ebuy.bat
start pos.bat

ns

echo
nslookup -qt=a macromatix.starbucks.net &
pause
人生在世,错别字在所难免,无需纠正。