Supporting Messaging Clients

Rgroup.vbs

Use this command to add, delete, and modify newsgroups. The following table lists the parameters you can use with the rgroup Visual Basic command.

Parameter Description
-t operation, in which
operation is one of the
following arguments:
     f Finds a group in the metabase.
     a Adds a group to the metabase.
     d Deletes a group.
     g Gets information about a group from the metabase.
     s Sets information about a group.
     l Loads groups from active file.
-s server The server affected by this change.
-v virtual server id The NNTP virtual server ID.
-c creation date The date the group was created.
-g group The name of the group. The wildcard character (*) can be used during searches (Rgroup.vbs –t f is used to find a group. Add as much of the name as you can, and then substitute the wildcard for all other characters.).
-n number of results     The maximum number of newsgroups returned for a search when Rgroup.vbs –t f is used to perform the search.
-m moderator The moderator's full e-mail address.
-a filename Adds the multiple newsgroups listed in the file to the metabase.
-d description The description of the group.
-p description Provides the response to the list prettynames command.
-r true | false Read-only.
-u true | false Indicates whether to moderate the newsgroup with the default moderator.

The following examples show how command scripts are used. When Windows Script Host is running, you can type any of the command scripts shown here on the command line.

Command script Function
Rgroup.vbs -t f -g alt.*
Returns all newsgroups beginning with alt.
Rgroup.vbs -t d -g my.old.group
Deletes the newsgroup my.old.group.
Rgroup.vbs -t a -g my.new.group
Adds the newsgroup my.new.group.
Rgroup.vbs -t s -g my.old.group -p GreatGroup   
-m moderator@nwtraders.microsoft.com
Sets the newsgroup pretty name description for my.old.group to GreatGroup and sets the moderator's address to moderator@nwtraders.microsoft.com.