Skip to main content

House Keeping in scorer.bat

Housekeeping automation in Scorer.bat

There are several sets of files which should be regularly cleaned out as the files are redundant once the sessions have been completed and all the information is stored in Scorer.

In order to clean up these files it is possible to add some simple commands to the startup batch file for Scorer (scorer.bat)

Normal layout

The standard contents of scorer.bat will look something like this:

-----------

subst S: "C:\NZB Scorer"
S:
start scorer.exe

---------------------

We can add some simple commands to this file in order to do some housekeeping.

BWS Files

======
forfiles /p ".\BWS files" /m *.* /D -15 /C "cmd /c move @file .\archive"

-------

The line above "Archives" or "moves" the bws files (used by BridgePads/BridgeTabs/BridgeMates) to an archive folder if they are more than 20 days old.

Add the following line to delete files from the archive if they are more than 30 days old.

======
forfiles /p ".\BWS files\archive" /m *.* /D -30 /C "cmd /c del @file"

-------

C-point files

=====
forfiles /p ".\Cpts\posted" /m *.* /D -10 /C "cmd /c del @file"

=====

The line above deletes all the C-point files sent to NZB more than 10 days ago.  These are totally redundant and are only kept for historical tracking and are never re-sent - they are always regenerated if required.

The Resulting File

After adding the commands the resulting scorer.bat will look something like this:

-------------------------

subst S: "C:\NZB Scorer"
S:
forfiles /p ".\BWS files" /m *.* /D -15 /C "cmd /c move @file .\archive"

forfiles /p ".\BWS files\archive" /m *.* /D -30 /C "cmd /c del @file"

forfiles /p ".\Cpts\posted" /m *.* /D -10 /C "cmd /c del @file"

start scorer.exe

====================

If you don't feel confident making these changes yourself then you can arrange a time for BridgeNZ to assist - please call or email to arrange a time - it only takes a couple of minutes.

Monday, 27 July 2020

Print :
Press the Print icon above to open a pop-up, then press the icon again in the pop-up to print out.

Leave a comment

Please login to leave a comment.