did try googling this. Someone said a for loop, which I don't know that well.
These 2 in a cmd batch command file:
echo %date% %time% >> "%onedrive%\trackip.txt"
nslookup myip.opendns.com resolver1.opendns.com | Find "Address:" | Find /V "208.67.222.222" >> "%onedrive%\trackip.txt"
puts
timestamp
ip address
on different lines.
I'd like
timestamp [some spaces] IP address
each time it runs.
Can anyone help?!