Use this command to add, delete, and modify newsgroups. The following table is a list of the parameters you can use with Rgroup.
Parameter | Description |
-t operation, where operation is one of the following arguments: |
|
f | Finds a group. |
a | Adds a group. |
d | Deletes a group. |
g | Gets information about a group. |
s | Sets information about a group. |
-s server | The server affected by this change. |
-v virtual server id | The site 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). |
-n number of results | The maximum number of newsgroups to return for a search (Rgroup.vbs -t f). |
-m moderator | The moderatorÆs full e-mail address. |
-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 by default moderator. |
The following examples show how command scripts are used. When Windows Scripting Host is running, you can enter 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 |
Sets the newsgroup prettyname description for my.old.group to GreatGroup and sets the moderator's address to moderator@mydomain.com. |