if exist pcbstuff.kbd del pcbstuff.kbd >NUL
l:\mailfile\killfile l:\mailfile\flatfile.dat
if errorlevel 4 goto notfound
if errorlevel 2 goto args
if errorlevel 1 goto pcboard
  echo Killed file!>pcbdoor.txt
  copy l:\mailfile\flatfile.da@ l:\mailfile\flatfile.dat >NUL
  del l:\mailfile\flatfile.da@ >NUL
  goto end
:pcboard
  echo Could not open PCBOARD.SYS!>pcbdoor.txt
  goto end
:args
  echo Not enough arguments!>pcbdoor.txt
  goto end
:notfound
  echo File not found!>pcbdoor.txt
:end
l:\pcb\board
