Command Prompt for Windows

Command GROUP


Insert program files into Program Manager groups.


GROUP [[ "groupname" ] filename [/C] [/D] [/S]]
GROUP ["groupname" [/C] /D]
groupnameProgram Manager group name string.
filenameProgram file(s) to add to the group.
/CIndicates that parameter groupname refers to a common group.
/DDelete a group.
/SProcess sub-directories.

Program files:

Only valid program files can be inserted into the Program Manager groups, and all other file types are ignored. A valid program file must have an extension of either .EXE, .COM, .BAT, .PIF or any filename that has a File Extension Association.

Error message:

The command GROUP uses Dynamic Data Exchange to communicate with the Program Manager. A request is sent to the Program Manager, and the Program Manager returns either a positive or negative acknowledgment, depending on whether the request is carried out or not.

When a request fails then the error message Request Denied is displayed. The most common reasons for this error occurring is :-

  1. The WinOne® Command Prompt can not link to the Program Manager.
  2. an attempt to delete a Program Manager group that does not exist.
  3. an attempt to insert a program file into a Program Manager group that is full. A Program Manager group can only contain a fixed number of items or programs. Typically, only 50 items or programs are allowed in any one Program Manager group.
  4. 4. an attempt to manipulate a common group when the currently logged in user does not have system administrator privileges .


When the /C switch is not specified then parameter groupname name refers to a private group. When the /C switch is specified do not include the "[Common]" part to specify a common group name. For example, when the WinOne® Command Prompt is installed on Windows NT it is placed in a common Program Manager group. The parameter groupname is specified as "WinOne", not "WinOne [Common]", and the /C switch must also be specified.

The /C switch is ignored when the WinOne® Command Prompt is running on Windows 95, since there are no common Program Manager groups in Windows 95.

System administrator privileges are required to manipulate common groups or items contained in a common group.

Examples on using GROUP.