Search found 4 matches

by tvogel
27 Apr 2020 11:15
Forum: DOS Batch Forum
Topic: Get IP from MAC adress?!
Replies: 6
Views: 5736

Re: Get IP from MAC adress?!

aGerman wrote:
24 Apr 2020 15:17
What do you get if you invoke an

Code: Select all

echo %1
in your code?

Steffen
sorry i was not right!
i will get back the mac adress - not the ip. so i´ve got still the same problem ...
by tvogel
27 Apr 2020 11:06
Forum: DOS Batch Forum
Topic: Get IP from MAC adress?!
Replies: 6
Views: 5736

Re: Get IP from MAC adress?!

aGerman wrote:
24 Apr 2020 15:17
What do you get if you invoke an

Code: Select all

echo %1
in your code?

Steffen
hi Steffen.
if i insert your code i´ll get the right output. %1 is echoing out the right ip.
but how to get this value in my variable %ip%?
thankX
by tvogel
27 Apr 2020 10:57
Forum: DOS Batch Forum
Topic: Get IP from MAC adress?!
Replies: 6
Views: 5736

Re: Get IP from MAC adress?!

TahnX a lot. Where could i get the file you use? -> "C:\Tools\wakemeonlan-x64\WakeMeOnLan.exe"
by tvogel
24 Apr 2020 02:26
Forum: DOS Batch Forum
Topic: Get IP from MAC adress?!
Replies: 6
Views: 5736

Get IP from MAC adress?!

Hi, I´d like to get the IP of a given MAC adresss to ping a specific computer and check if it´s is online. Yes, I just know the computers MAC adress - not it´s IP because it´s dynamic! I startet with something like that and it works fine: FOR /F %%i IN ('arp -a ^| find "12-34-56-78-90-ff"') DO set i...