mirror of
https://github.com/Maschell/saviine.git
synced 2025-02-22 07:37:16 +01:00

This method of obtaining the local network IP should work on all versions of Windows from XP on.
6 lines
164 B
Batchfile
6 lines
164 B
Batchfile
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
|