mirror of
https://github.com/Maschell/saviine.git
synced 2024-11-22 14:39:15 +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
d053be5d05
commit
ea36195f65
@ -1 +1,4 @@
|
|||||||
|
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
|
saviine_server.exe inject
|
Loading…
Reference in New Issue
Block a user