Descfix v1.0

Programmed By: Alzirr
Date: January 31, 2000

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

Descfix is a utility that reads the UPDESC.### file created by PCBoard's
built-in PCBDESC.EXE utility.  It scans through the file fixing any Y2K
issues.

To install Descfix you will need to edit your PCBTEST.BAT file.

Your PCBTEST.BAT file may look something like this...

[BEGIN PCBTEST.BAT]

  @echo off
 
  echo  Checking for included FILE_ID.DIZ for description
  if %2 == UPLOAD pcbdesc %1 %3

  if exist failed.txt goto fail
  goto end

  :fail

  copy failed.txt pcbfail.txt
  del failed.txt
 
  :end

[END PCBTEST.BAT]

Right after this line...

  if %2 == UPLOAD pcbdesc %1 %3

Put in this line...

  descfix

So the final PCBTEST.BAT file will look something like this...

[BEGIN NEW PCBTEST.BAT]

  @echo off
 
  echo  Checking for included FILE_ID.DIZ for description
  if %2 == UPLOAD pcbdesc %1 %3

  descfix  <=-  Notice the new line

  if exist failed.txt goto fail
  goto end

  :fail

  copy failed.txt pcbfail.txt
  del failed.txt
 
  :end

[END NEW PCBTEST.BAT]
 
You will need to put DESCFIX.EXE in one of the directories that is listed
in your PATH statement.  Such as C:\PCB.
 
Error Codes Returned (Just in case you wanted to know):
 
  0 - Normal Exit
  1 - UPDESC.### file not found (### is the current node number)  
  2 - Error creating UPDESC.$$$ (Temp File) 

Limitations:  This program reads the UPDESC.### file that was originally
              created by PCBoard's PCBDESC.EXE utility.  There are some
              cases where PCBDESC will truncate the 'Newest' date to make
              the line fit.  In these cases Descfix will not be able to
              fix the 'Newest' date, but will still fix the 'Oldest' date.
 
Note:  I release this utility as freeware and will not be held responsible
       for any weird actions it may cause.  I have tested it on my system
       and found it to work just fine.  :-)

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

This program is brought to you by SysOp of The Nexus BBS.

  Dial-Up:  856.875.0968
  Telnet:   bbs.nexusbbs.com
  URL:      www.nexusbbs.com
  E-Mail:   alzirr@nexusbbs.com