@echo off
if "%1" == "" goto :ayuda
if "%1"=="esen" lynx.bat -dump -nolist -useragent=lynx "http://www.wordreference.com/esen/%2" | more
if "%1"=="enes" lynx.bat -dump -nolist -useragent=lynx "http://www.wordreference.com/enes/%2" | more
if "%1"=="esfr" lynx.bat -dump -nolist -useragent=lynx "http://www.wordreference.com/esfr/%2" | more
if "%1"=="fres" lynx.bat -dump -nolist -useragent=lynx "http://www.wordreference.com/fres/%2" | more
if "%1"=="espt" lynx.bat -dump -nolist -useragent=lynx "http://www.wordreference.com/espt/%2" | more
if "%1"=="ptes" lynx.bat -dump -nolist -useragent=lynx "http://www.wordreference.com/ptes/%2" | more
if "%1"=="esit" lynx.bat -dump -nolist -useragent=lynx "http://it.dicios.com/esit/%2" | more
if "%1"=="ites" lynx.bat -dump -nolist -useragent=lynx "http://it.dicios.com/ites/%2" | more
if "%1"=="esde" lynx.bat -dump -nolist -useragent=lynx "http://diccionario.reverso.net/espanol-aleman/%2" | more
if "%1"=="dees" lynx.bat -dump -nolist -useragent=lynx "http://diccionario.reverso.net/aleman-espanol/%2" | more
if "%1"=="esal" lynx.bat -dump -nolist -useragent=lynx "http://www.foreignword.com/cgi-bin/albesp.pl?lengua=espalb&termbox=%2" | more
if "%1"=="ales" lynx.bat -dump -nolist -useragent=lynx "http://www.foreignword.com/cgi-bin/albesp.pl?lengua=albesp&termbox=%2" | more
if "%1"=="esca" lynx.bat -dump -nolist -useragent=lynx "http://www.foreignword.com/cgi-bin/albesp.pl?lengua=albesp&termbox=%2" | more
if "%1"=="caes" lynx.bat -dump -nolist -useragent=lynx "http://www.foreignword.com/cgi-bin/albesp.pl?lengua=albesp&termbox=%2" | more
if "%1"=="eslat" lynx.bat -dump -nolist -useragent=lynx "http://dictionaries.travlang.com/SpanishLatin/dict.cgi?query=%2&max=50" |more
if "%1"=="lates" lynx.bat -dump -nolist -useragent=lynx "http://dictionaries.travlang.com/LatinSpanish/dict.cgi?query=%2&max=50" |more
if "%1"=="esfi" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=87&k2=31&w=%2" | more
if "%1"=="fies" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=31&k2=87&w=%2" | more
if "%1"=="esbu" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=87&k2=164&w=%2" | more
if "%1"=="bues" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=164&k2=87&w=%2" | more
if "%1"=="escz" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=87&k2=21&w=%2" | more
if "%1"=="czes" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=21&k2=87&w=%2" | more
if "%1"=="eshr" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=87&k2=170&w=%2" | more
if "%1"=="hres" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=170&k2=87&w=%2" | more
if "%1"=="esdk" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=87&k2=23&w=%2" | more
if "%1"=="dkes" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=23&k2=87&w=%2" | more
if "%1"=="esgr" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=87&k2=37&w=%2" | more
if "%1"=="gres" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=37&k2=87&w=%2" | more
if "%1"=="eshu" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=87&k2=43&w=%2" | more
if "%1"=="hues" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=43&k2=87&w=%2" | more
if "%1"=="esil" lynx.bat -dump -nolist -useragent=lynx "http://dicts.info/2/hebrew-spanish.php?word=%2&begin=Search" | more
if "%1"=="iles" lynx.bat -dump -nolist -useragent=lynx "http://dicts.info/2/hebrew-spanish.php?word=%2&begin=Search" | more
if "%1"=="esjp" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=87&k2=55&w=%2" | more
if "%1"=="jpes" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=55&k2=87&w=%2" | more
if "%1"=="esar" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=118&k2=87&w=%2" | more
if "%1"=="ares" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=87&k2=118&w=%2" | more
if "%1"=="rues" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=81&k2=87&w=%2" | more
if "%1"=="esru" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=87&k2=81&w=%2" | more
if "%1"=="es" lynx.bat -dump -nolist -useragent=lynx "http://buscon.rae.es/draeI/SrvltGUIBusUsual?TIPO_%20HTML=2&LEMA=%2" | more
if "%1"=="en" lynx.bat -dump -nolist -useragent=lynx "http://dictionary.reference.com/browse/%2" | more
if "%1"=="it" lynx.bat -dump -nolist -useragent=lynx "http://www.dizionario-italiano.it/definizione-lemma.php?definizione=%2&lemma=C042C000" | more
if "%1"=="fr" lynx.bat -dump -nolist -useragent=lynx "http://www.cnrtl.fr/definition/%2" | more
if "%1"=="ast" lynx.bat -dump -nolist -useragent=lynx "http://mas.lne.es/diccionario/index.php?palabra=%2" | more
if "%1"=="ca" lynx.bat -dump -nolist -useragent=lynx "http://dlc.iec.cat/results.asp?txtEntrada=%2&operEntrada=0" | more
if "%1"=="encn" lynx.bat -dump -nolist -useragent=lynx "http://www.mandarintools.com/cgi-bin/wordlook.pl?word=%2&searchtype=english&where=whole" | more
if "%1"=="cnen" lynx.bat -dump -nolist -useragent=lynx "http://www.mandarintools.com/cgi-bin/wordlook.pl?word=%2&searchtype=english&where=whole" | more
if "%1"=="zuen" lynx.bat -dump -nolist -useragent=lynx "http://www.websters-online-dictionary.org/translation/Zulu/%2" | more
if "%1"=="enmal" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=1&k2=228&w=%2" | more
if "%1"=="malen" lynx.bat -dump -nolist -useragent=lynx "http://www.dicts.info/ud.php?k1=228&k2=1&w=%2" | more
if "%1"=="enro" lynx.bat -dump -nolist -useragent=lynx " http://www.dictionarenglezroman.ro/?cuvant=%2" | more
if "%1"=="roen" lynx.bat -dump -nolist -useragent=lynx "http://www.dictionarromanenglez.ro/?cuvant=$%2" | more
if "%1"=="entag" lynx.bat -dump -nolist -useragent=lynx "http://www.foreignword.com/cgi-bin/engtag.cgi?language=engtag&termbox=%2&B1=Search" | more
if "%1"=="tagen" lynx.bat -dump -nolist -useragent=lynx "http://www.foreignword.com/cgi-bin/engtag.cgi?language=tageng&termbox=%2&B1=Search" | more
goto :EOF
:ayuda
echo.
echo Uso:
echo %0 idiomaidioma palabra (Ej.: %0 esjp perro)
echo %0 idioma palabra, para el diccionario de definiciones (Ej.: %0 en dog)
echo.
echo Lista de idiomas:
echo es ^<--^> al ar bu ca cz de dk en fi fr gr hr hu il it jp lat pt ru
echo en ^<--^> cn mal(tés) tag(alog) ro
echo zuen -^> Zulu-Ingles
echo.
echo Dicc. de definiciones: es en it fr ast(turiano) ca(tala) ga(lego)
echo.
lynx.bat@ECHO OFF
command /C
set term=vt100
set home=%CD%
set temp=%HOME%\tmp
set lynx_cfg=%HOME%\lynx.cfg
set lynx_lss=%HOME%\opaque.lss
%HOME%\lynx.exe %1 %2 %3 %4