Search found 1 match

by demour
18 Jan 2020 22:20
Forum: DOS Batch Forum
Topic: Explain batch script - need some help
Replies: 2
Views: 4328

Explain batch script - need some help

Can someone help me and explain the following batch script as precisely as possible? Please, thank you. FOR /f "TOKEN=5" %%i IN ('NETSH INTERFACE IPv4 SHOW ROUTE ^| FIND "0.0.0.0/0"') DO @FOR /f "TOKEN=2" %%i IN (' NETSH INTERFACE IPv4 SHOW ADDRESSES %%i ^| FIND "IP-Adresse"') DO @ECHO IPv4 : %%i >>...