@echo off rem DEPLOY.BAT (c)1996 RD Instruments All rights reserved rem Licensed for exclusive use with RD Instruments products or data rem cls if exist \%1\%1.cmd goto changename Echo Did you set your PC time and date properly? The PC time and date echo will be used to set the ADCP time and date. If you want to change echo your PC time, quit this program by pressing [Ctrl-Break]. echo . pause initadcp %1 %2 %3 %4 %5 if errorlevel 3 goto problem md \%1 copy %1*.* \%1\*.* del %1*.* if not exist testadcp.dat goto alldone copy testadcp.dat \%1\%1.tlg del testadcp.dat goto alldone :changename Echo . Echo . Echo The Deployment Planning File \%1\%1.cmd exists on your hard echo drive. This implies that you are starting a new deployment with the echo same Deployment Name as an existing deployment. Please change the Echo Deployment Name (Hint: rename %1.cmd) and restart DEPLOY. goto alldone :problem echo . echo THERE WAS A PROBLEM WITH YOUR DEPLOYMENT echo . echo If you are unsure what your problem was, review the file %1.DLG. You echo may print it (COPY %1.DLG PRN), look at it with the DOS editor echo (EDIT %1.DLG) or use the command TYPE %1.CMD echo. :alldone