This batch script is nothing more than a simple pass of command arguments to firefox to open a web page with whois data. Modify as needed.
@echo off setlocal :Check_Program_Path if exist "%ProgramFiles%\Mozilla Firefox\firefox.exe" goto :Check_Command_ARG goto :ERROR_1 :Check_Command_ARG if [%~1]== goto :ERROR_2 :: ELSE--- :Set_VARS set FireFox_and_Check="%ProgramFiles%\Mozilla Firefox\firefox.exe" set Address=http://whois.domaintools.com/%~1 :Run_FireFox_DirectPage_2_IP_LookUp Start %FireFox_and_Check% %Address% goto :EOF :ERROR_1 echo.FireFox.exe was not found in your path!!! goto :EOF :ERROR_2 echo.No Address was specified!!! echo. echo.USAGE: %~0 google.com goto :EOF