🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #34582

Re: [Xnews] Utility to change name of CIS DFN

#34582
From: ratzilla
Date: Fri, 18 Jul 2003 19:10
23 lines
1975 bytes
Hiram Walker <hiram@mail.com> wrote in news:93BC76D2459E97AF39@130.133.1.4 
(alt.free.newsservers):

> ratzilla <ratzilla@punkass.com> wrote:
> 
>>> It seems that the Xnews HDR and MBX files for each newsgroup
>>> will also need changing (from beginning with "news.cis.dfn.de"
>>> to "news.individual.net") in order to keep the stored group data. 
>> 
>>> Is there a utility for use in WinXP which can make the change
>>> to all these affected files all in one go?  Can it be done with a DOS
>>> command? 
>> 
>> This looks clunky, but works for me - 
>> 
>> for /F "delims=] tokens=1,2" %I in ('dir /b *dfn*') do (rename "%I]%J"
>> "[news.individual.net]%J") 
> 
> What command is that one?

For.  And dir.  And rename.  There's a decent command-line "A-Z" reference in 
XP's help file, and now might be a good time to RTFM.
Technical Details
Message-ID: <Xns93BCCD5B2CD6Ciamderat@130.133.1.4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.msdos.misc.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-feed1.de1.concert.net!fu-berlin.de!uni-berlin.de!81-86-196-46.dsl.pipex.COM!not-for-mail
References: <93BBF1CFD16697AF39@130.133.1.4> <Xns93BC58F09204iamderat@130.133.1.4> <93BC76D2459E97AF39@130.133.1.4>

Show Full Headers
Complete Article Headers
Message-ID: <Xns93BCCD5B2CD6Ciamderat@130.133.1.4>
Subject: Re: [Xnews] Utility to change name of CIS DFN
Date: Fri, 18 Jul 2003 19:10:55 +0000
From: ratzilla <ratzilla@punkass.com>
References: <93BBF1CFD16697AF39@130.133.1.4> <Xns93BC58F09204iamderat@130.133.1.4> <93BC76D2459E97AF39@130.133.1.4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.msdos.misc.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-feed1.de1.concert.net!fu-berlin.de!uni-berlin.de!81-86-196-46.dsl.pipex.COM!not-for-mail
Newsgroups: news.software.readers,alt.free.newsservers,comp.os.msdos.misc
Organization: ratzilla@punkass.com
Lines: 22
NNTP-Posting-Host: 81-86-196-46.dsl.pipex.com (81.86.196.46)
X-Trace: news.uni-berlin.de 1058555455 13361926 81.86.196.46 (16 [126104])
User-Agent: Xnews/06.07.17