MAC Address Vendor

#1
Code:
::----------------------------------------
:: MACVENDOR.BTM
:: Determine the vendor of a MAC Address
::
:: Requires the file macadr.txt
::  which is downloaded if not found
::
:: 2015-February-08
:: Joe Caverly
::
:: NOTES: Error checking could be enhanced
::----------------------------------------
@setlocal
@echo off
iff %# lt 1 then
  echo Usage: %_BATCHNAME 192.168.0.100
  quit
endiff
iff not exist macadr.txt then
  copy https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf macadr.txt
  iff exist macadr.txt then
  :: File was copied
  else
  echo File macadr.txt does not exist
   quit
  endiff
endiff
set macadr=%@macaddress[%1]
iff %@len[%macadr] eq 17 then
  echo MAC Address: %macadr
  set macadr=%@replace[-,:,%macadr]
  set macadr=%@left[8,%macadr]
  echo Octets: %@word[0,%@execstr[0,ffind /k/m/t"%macadr" macadr.txt]]
  echo Vendor: %@word[1,%@execstr[0,ffind /k/m/t"%macadr" macadr.txt]]
else
  echo MAC Address %1 not found
  quit
endiff
endlocal