diff --git a/server/inject.bat b/server/inject.bat index 3b2b394..22e8d02 100644 --- a/server/inject.bat +++ b/server/inject.bat @@ -1 +1,4 @@ -saviine_server.exe inject \ No newline at end of file +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 inject