Re: Excessively Large NEWS.DAT File

Stephan de Haas (sdh@xs4all.nl)
Wed, 24 Apr 1996 15:59:37 -0200

In article <zpTfxEqIEeaZ090yn@itribe.net>,
szurgot@itribe.net (Chris Szurgot) wrote:

> Well, I suspect that a short term fix could be to have rmgroup actually run
> the expire command for that string. The only drawback there would be a not
> instantaneous reply from rmgroup.

Maybe for the time being we can act like this:

ren rmgroup.exe rmgroup!.exe

Make a batch file, called rmgroup.bat

@echo off
rem
rem RMGROUP.BAT
rem For Yarn: rename RMGROUP.EXE to RMGROUP!.EXE
rem Then use this RMGROUP.BAT like you used RMGROUP.EXE
rem
if %1.==. goto USAGE
echo Removing old %1-messages from the news database......
expire -o -d999 %1
echo.
echo Done!
echo.
echo Now removing group: %1 ....
rmgroup! %1
echo.
echo Done!
goto END
:USAGE
echo.
echo PC Yarn
echo Remove newsgroup from active list
echo usage: rmgroup name
:END

-- 

Groeten,

Steef.

____________________________________________________________ Stephan de Haas, Groningen, The Netherlands <sdh@xs4all.nl>