<< , >> , up , Title , Contents

V-6. Can I sort the news groups in the main window?

There currently no method to sort news groups inside of WinVN. However, you can do this outside of WinVN using some standard DOS command. Here is how to do this:

First, if WinVN is running, exit it. Next go to a DOS session and change into the same directory as your newsrc file (See III.9 for a description). Make a backup copy, just in case Murphy puts in an appearance using the command:

COPY NEWSRC NEWSRC.BAK.

Extract and sort the subscribed groups into a new newsrc file by entering the command string:

TYPE NEWSRC | FIND /V "! " | SORT > NEWSRC.NEW

Sort the unsubscribed groups and add them to the new file by:

TYPE NEWSRC | FIND "! " | SORT >> NEWSRC.NEW

"Install" your sorted file by entering the command:

COPY NEWSRC.NEW NEWSRC

That's it, your news groups are sorted. BTW, you can put these command in

a batch file to simplify the process.

[from Greg Monroe]


<< , >> , up , Title , Contents