| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE>Format of RUNFBB.BAT</TITLE> |
| 4 |
</HEAD> |
| 5 |
<BODY BACKGROUND="/back_fbb.jpg"> |
| 6 |
<P> |
| 7 |
<IMG SRC="/fbb.gif" WIDTH="32" HEIGHT="32"> |
| 8 |
<H1 ALIGN=Center> |
| 9 |
RUNFBB.BAT |
| 10 |
</H1> |
| 11 |
<P ALIGN=Center> |
| 12 |
<FONT COLOR="#ff0000"><BIG>Only for WinFBB</BIG> !</FONT> |
| 13 |
<P> |
| 14 |
<PRE> |
| 15 |
<BIG><B>RUNFBB.BAT (\FBB\BIN).</B></BIG> |
| 16 |
|
| 17 |
This is the very first file that WinFBB will use. You will find it in |
| 18 |
\FBB\BIN-directory. You don't really need to do any changes in this file, |
| 19 |
unless you did some changes during the installation-process. If you did, |
| 20 |
you must change the pathnames in RUNFBB.BAT exactly the same as you did |
| 21 |
during the installation. |
| 22 |
This is very important ! So look for the lines that I have marked with |
| 23 |
an <FONT COLOR="#ff0000"><---</FONT> here : |
| 24 |
|
| 25 |
@echo off |
| 26 |
rem ------------------------------------------------- |
| 27 |
rem This file is run from RUNFBB.EXE. Only the relevant part is started. |
| 28 |
rem It can be START, STOP, RERUN, MAINT or ERROR. |
| 29 |
rem Do not forget to type "goto end" at the end of each section ! |
| 30 |
rem -------------------------------------------------- |
| 31 |
|
| 32 |
break off |
| 33 |
set fbb=C:\FBB <FONT COLOR="#ff0000"><----</FONT> |
| 34 |
goto %1 |
| 35 |
|
| 36 |
:start ********************** START of START script ************************ |
| 37 |
echo off |
| 38 |
cd %fbb% |
| 39 |
goto end |
| 40 |
rem *************************** END of START script ************************** |
| 41 |
|
| 42 |
:rerun *********************** START of RERUN script ************************ |
| 43 |
cd %fbb% |
| 44 |
goto end |
| 45 |
rem **************************** END of RERUN script ************************** |
| 46 |
|
| 47 |
:maint ********************** START of MAINT script ************************** |
| 48 |
cd %fbb% |
| 49 |
@echo off |
| 50 |
cd %fbb%\system\sat <FONT COLOR="#ff0000"><----</FONT> |
| 51 |
if not exist amsat.txt goto amsatend |
| 52 |
satupdat amsat.txt /n > satupdat.res |
| 53 |
satupdat amsat.txt >> satupdat.res |
| 54 |
del amsat.txt |
| 55 |
:amsatend |
| 56 |
echo Backup of important files |
| 57 |
copy %fbb%\system\dirmes.sys %fbb%\backup\dirmes.s1 <FONT COLOR="#ff0000"><----</FONT> |
| 58 |
copy %fbb%\system\inf.sys %fbb%\backup\inf.s1 <FONT COLOR="#ff0000"><----</FONT> |
| 59 |
echo Cleaning up messages... |
| 60 |
del epurmess.res |
| 61 |
epurmess |
| 62 |
rem EPURWP Parametre: Number of days before update, and delete |
| 63 |
rem Default is 40 and 90 |
| 64 |
epurwp 45 95 |
| 65 |
del %fbb%\system\wp\wp.old <FONT COLOR="#ff0000"><----</FONT> |
| 66 |
cd %fbb%\system |
| 67 |
clr_user>>%fbb%\clr_user.res <FONT COLOR="#ff0000"><----</FONT> |
| 68 |
MAINTINF 3 /a |
| 69 |
COPY %FBB%\SYSTEM\INF.NEW %FBB%\SYSTEM\INF.SYS <FONT COLOR="#ff0000"><----</FONT> |
| 70 |
cd %fbb% |
| 71 |
del %fbb%\system\dirmes.new <FONT COLOR="#ff0000"><----</FONT> |
| 72 |
del %fbb%\system\dirmes.old <FONT COLOR="#ff0000"><----</FONT> |
| 73 |
if not exist %fbb%\error.sys goto direct <FONT COLOR="#ff0000"><----</FONT> |
| 74 |
rem --------------------------------------------------- |
| 75 |
rem --- If you want a message when errors have occured: |
| 76 |
rem --- <FONT COLOR="#ff0000">PLEASE exchange LA6CU with your own callsign !!!! </FONT> |
| 77 |
rem echo SP LA6CU >> %FBB%\MAIL.IN <FONT COLOR="#ff0000"><----</FONT> |
| 78 |
rem echo Error-report >> %FBB%\MAIL.IN <FONT COLOR="#ff0000"><----</FONT> |
| 79 |
rem type %FBB%\ERROR.SYS >> %FBB%\MAIL.IN <FONT COLOR="#ff0000"><----</FONT> |
| 80 |
rem echo. >> %FBB%\MAIL.IN <FONT COLOR="#ff0000"><----</FONT> |
| 81 |
rem ECHO /EX >> %FBB%\MAIL.IN <FONT COLOR="#ff0000"><----</FONT> |
| 82 |
rem type %FBB%\ERROR.SYS >> %FBB%\ERROR.LOG <FONT COLOR="#ff0000"> <----</FONT> |
| 83 |
rem del %FBB%\ERROR.SYS <FONT COLOR="#ff0000"><----</FONT> |
| 84 |
rem --------------------------------------------------- |
| 85 |
:direct |
| 86 |
goto end |
| 87 |
rem **************************** END of MAINT script ************************ |
| 88 |
|
| 89 |
:stop ************************* START of STOP script ************************* |
| 90 |
goto end |
| 91 |
rem ***************************** END av STOP script ************************* |
| 92 |
|
| 93 |
:error ********************** START av ERROR script ************************* |
| 94 |
echo WFBB exited with ERRORLEVEL %2 |
| 95 |
sleep 5 |
| 96 |
goto end |
| 97 |
rem **************************** END av ERROR script ************************** |
| 98 |
|
| 99 |
:end |
| 100 |
echo %1 script is finished. |
| 101 |
sleep 2 |
| 102 |
|
| 103 |
|
| 104 |
<A HREF="doc.htm"><IMG SRC="/contents.gif" WIDTH="108" HEIGHT="28"></A> |
| 105 |
|
| 106 |
<A HREF="/"><IMG SRC="../button_home.gif" WIDTH="90" HEIGHT="29"></A> |
| 107 |
|
| 108 |
<FONT COLOR="#800000">This page was last updated <!--#config timefmt="%d-%b-%y"--><!--#echo var="LAST_MODIFIED"--></FONT> |
| 109 |
|
| 110 |
</PRE> |
| 111 |
</BODY></HTML> |