mirror of
https://github.com/Maschell/saviine.git
synced 2024-11-29 09:24:13 +01:00
Add network IP to output when running batch files
This method of obtaining the local network IP should work on all versions of Windows from XP on.
This commit is contained in:
parent
c06e6ae7f3
commit
d053be5d05
@ -1 +1,5 @@
|
||||
echo off
|
||||
for /f "delims=[] tokens=2" %%a in ('ping -4 -n 1 %ComputerName% ^| findstr [') do set NetworkIP=%%a
|
||||
echo Network IP: %NetworkIP%
|
||||
|
||||
saviine_server.exe dump
|
Loading…
Reference in New Issue
Block a user