@echo off if "%1"=="" goto syntax c:\spell\spell %1 wrong.spl c:\spell\alldicts.nl @c:\spell\options.spl goto end :syntax echo syntax: TEXSPELL myfile.tex :end