echo off echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º The CTEAMDAT.BAT file moves the four files º echo º that are required by the ECONOLAND program º echo º from directory area C:ECONOL to º echo º area C:ECONOL\TEAMDAT º echo º that are required by the ECONOLAND program º echo º º echo º OPTION: You could use the Command Line to use different º echo º directories; for example, if you have installed the program º echo º in directory area D:\ECON\ECONOLAN and want the program to º echo º store output files in subdirectory TEAM2DAT, you would type º echo º the following to run the BAT file. º echo º CTEAMDAT D:ECON\ECONOLAN TEAM2DAT º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ echo . If "%1" == "" goto DEFAULT1 SET DRI1=%1% GoTO NEXTS :DEFAULT1 SET DRI1=C:\ECONO echo dri1 equals %dri1% GoTO DEFAULT2 :NEXTS If "%2" == "" goto DEFAULT2 SET DRI2=%2% GOTO NEXT2 :DEFAULT2 SET DRI2=TEAMDAT echo dri2 equals %dri2% pause :NEXT2 echo Transfering files to %DRI1%\%DRI2% echo Type Ctrl-C if you do not want to do this, otherwise pause if not exist %DRI1%\%DRI2% mkdir %DRI1%\%DRI2% chdir %DRI1%\%DRI2% copy %DRI1%\*.CFF copy %DRI1%\*.CLT copy %DRI1%\*.CLS copy %DRI1%\*.HST chdir %DRI1% If exist %DRI1%\%DRI2%\ECONOL.HST goto success echo Sorry, files NOT transfered! Goto END :SUCCESS echo Operating files have been transfered to %DRI1%\%DRI2% :END SET DRI1= SET DRI2= echo .