OPEN_FOLDER command

Content Manager OnDemand attempts to open the specified folder.

Command Parameters
OPEN_FOLDER /F folder name /S /C /R /D /V /P /T /A /N /L /0 button text /1 button text /2 button text /3 button text /4 button text /5 button text /6 button text /7 button text /8 button text /9 button text
Parameters
F folder name
Specifies the name of one of the folders available to the user on the server. This parameter is required.
S
Indicates that the Search button is not to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
C
Indicates that the Clear All Fields button is not to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
R
Indicates that the Restore Defaults button is not to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
D
Indicates that the AND/OR buttons are not to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
V
Indicates that the View All Selected button is not to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
P
Indicates that the Print All Selected button is not to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
T
Indicates that the Sort List … button is not to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
A
Indicates that the Audit buttons are not to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
N
Indicates that the Append button is not to appear on the DocumentList of the Search Criteria and Document List dialog box. This parameter is optional.
L
Indicates that the AutoScroll button is not to appear on the DocumentList of the Search Criteria and Document List dialog box. This parameter is optional.
0 button text
Specifies the text for a button which is to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
If the text includes an &, the next character becomes an accelerator key. When the user clicks on the button, Content Manager OnDemand informs the client application through an Advise Loop established for the application.
1 button text
Specifies the text for a button which is to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
If the text includes an &, the next character becomes an accelerator key. When the user clicks on the button, Content Manager OnDemand informs the client application through an Advise Loop established for the application.
2 button text
Specifies the text for a button which is to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
If the text includes an &, the next character becomes an accelerator key. When the user clicks on the button, Content Manager OnDemand informs the client application through an Advise Loop established for the application.
3 button text
Specifies the text for a button which is to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
If the text includes an &, the next character becomes an accelerator key. When the user clicks on the button, Content Manager OnDemand informs the client application through an Advise Loop established for the application.
4 button text
Specifies the text for a button which is to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
If the text includes an &, the next character becomes an accelerator key. When the user clicks on the button, Content Manager OnDemand informs the client application through an Advise Loop established for the application.
5 button text
Specifies the text for a button which is to appear on the SearchCriteria of the Search Criteria and Document List dialog box. This parameter is optional.
If the text includes an &, the next character becomes an accelerator key. When the user clicks on the button, Content Manager OnDemand informs the client application through an Advise Loop established for the application.
6 button text
Specifies the text for a button which is to appear on the DocumentList of the Search Criteria and Document List dialog box. This parameter is optional.
If the text includes an &, the next character becomes an accelerator key. When the user clicks on the button, Content Manager OnDemand informs the client application through an Advise Loop established for the application.
7 button text
Specifies the text for a button which is to appear on the DocumentList of the Search Criteria and Document List dialog box. This parameter is optional.
If the text includes an &, the next character becomes an accelerator key. When the user clicks on the button, Content Manager OnDemand informs the client application through an Advise Loop established for the application.
8 button text
Specifies the text for a button which is to appear on the DocumentList of the Search Criteria and Document List dialog box. This parameter is optional.
If the text includes an &, the next character becomes an accelerator key. When the user clicks on the button, Content Manager OnDemand informs the client application through an Advise Loop established for the application.
9 button text
Specifies the text for a button which is to appear on the DocumentList of the Search Criteria and Document List dialog box. This parameter is optional.
If the text includes an &, the next character becomes an accelerator key. When the user clicks on the button, Content Manager OnDemand informs the client application through an Advise Loop established for the application.
Action
A list of the available folder names can be retrieved by using the GET_FOLDERS command. The Open a Folder dialog box is not displayed unless the open fails. If the folder is successfully opened, it becomes the active folder.

Multiple folders can be open concurrently. One of them is the active folder.

Return Code
0
ARS_DDE_RC_NO_ERROR
2
ARS_DDE_RC_PARM_NOT_SPECIFIED
3
ARS_DDE_RC_INVALID_PARM_VALUE
6
ARS_DDE_RC_NOT_LOGGED_ON
7
ARS_DDE_RC_MAX_FOLDERS_OPEN
11
ARS_DDE_RC_USER_ACTION_IN_PROGRESS
Return Data
None
Refer to the DoDdeCommand function.
 DoDdeCommand( "OPEN_FOLDER", "/F Mary's Folder", NULL );