echo on
rem Runs through option board, teledisk, snatchit, and imagedisk and
rem puts everything in c:\work\(name).
rem Usage: protimgb.bat NAMEXXXX (no extension)

mkdir c:\work\%1

REM imagedisk
REM we do imagedisk first so we can observe how many valid sides it detects
cd c:\utils\disk\imd
imd /b /f /h /k c=40
move %1.imd c:\work\%1\

REM snatchit
cd c:\utils\disk\copyutil\snatchit
snatchit b:
move %1.cp2 c:\work\%1\

REM option board
cd c:\utils\disk\optboard\dob5.4
tc
move %1.img c:\work\%1\%1.tc

REM teledisk
cd c:\utils\disk\teled215
teledisk
move %1.td0 c:\work\%1\

cd c:\work
dir %1
rem pkzip -e0 -r -m %1.zip %1\*.*
pkzip -es -r -m %1.zip %1\*.*
fput %1.zip
