febooti Command line email utility can be configured in order to send computer IP address upon wake-up or on daily basis to specified email or list of emails, providing an easy solution to locate computer with dynamic IP every time when its address is changed.

Example of simple batch file script: IP address is written to file, after then sent as attachment.

@echo off

echo Put IP address into file...

ipconfig > Computer-IP-address.txt

echo Sending file with IP address...
febootimail -FROM john@sender.com -TO john@recipient.com -ATTACH Computer-IP-address.txt -MSG "John's IP address is attached as a file - Computer-IP-address.txt"

echo Clear temporary files...
del Computer-IP-address.txt

echo Done... 

Example of advanced batch file script: IP address is written to file, after then processed with internal command FINDSTR (available in Windows 2000, XP and 2003). After FINDSTR command is applied, file Computer-IP-address.txt contains only one line where IP address is specified. Then email is sent as message text, not as attached file.

@echo off

echo Put IP address into file...

ipconfig > IP.tmp

echo Leave only lines that contains string "IP Address"...

:: FINDSTR - searches for patterns of text in files
::           using regular expressions.
:: /I - specifies that the search is not to be case-sensitive.
:: /C - specifies to search for exact phrase.

FINDSTR /I /C:"IP Address" IP.tmp > Computer-IP-address.txt

echo Sending e-mail with IP address...
febootimail -FROM john@sender.com -TO johnny@recipient.com -TEXT "Current IP address:" -CR -TEXT -USEFILE Computer-IP-address.txt

echo Clear temporary files...
del IP.tmp
del Computer-IP-address.txt

echo Done... 
Additional Command line email notes and resources:

Please do not hesitate to contact our support department with any possible further questions or to solve practical issues connected with Command line email.