On Windows platforms you can use command line configuration options to control how Communicator opens, which components open initially, and what the components do when they open.

Also see the Parameter Definitions and Syntax Rules that follow the command line options.

Windows 95, 98, NT

Options Syntax

Result Command Parameters
Create a dummy profile and launch the Account Setup application (through which the user will create a real account). Applies to version 4.02 or later. -new_account  
Run Navigator (3.x) or Communicator (4.x) using a particular initialization file. -i [path to initialization file]
Open Navigator in "kiosk" mode (without menus or buttons). Applies to versions 3.x, or 4.02 or later. -k  
Open Navigator in "super-kiosk" mode (borderless, full-screen display that can be further customized with JavaScript). Applies to version 4.02 or later. -sk  
Load Java at start-up, while splash screen is displayed. Helpful when running enterprise and kiosk applications. Applies to version 4.02 or later. -start_java  
Before Communicator opens, ask the user to fill out a new profile. -new_profile  
Before Communicator opens, display the Profile Manager so the user can choose the correct identity. -profile_manager  
Run Communicator using a particular user profile. -P (uppercase "P" is required) ["user's profile name"]
e.g., -P"profilename"
Open Navigator regardless of any conflicting preferences. -browser  
Open Navigator and display a local HTML document.   [file_name]
Open Navigator and use the HTML document at the named URL as a home page. -h [URL]
Open Messenger (displays the Inbox by default). -mail  
Open the Inbox in Messenger. -inbox  
Open the Message Center and go to the first subscribed discussion group server. -news  
Open the Message Center to see all folders. -folders  
Open the Address Book. -address  
Import an LDIF file into the Address Book. Note that entries that are exact duplicates are not added. -import [LDIF_file_name]
Export the contents of the Address Book as an LDIF file. Only exporting occurs. Exported file automatically gets .ldif extension. -export [LDIF_file_name]
Open Page Composer without specifying an HTML document. -edit  
Open Page Composer and load a particular HTML document. -edit [file_name]
Open new Message Composition window. -compose  
Open new Message Composition window with attachments. -compose [@attachments] | [-attachment]
Open new Message Composition window, automatically inserting message and attachments. -compose [message @attachments] |
[message -attachment]
Run Netcaster. Requires that Netcaster is already installed. -netcaster  

Parameter Definitions

Note that parameters other than switches are interpreted as files or URLs to be loaded.

Parameter Definition
path to initialization file The full path to the appropriate initialization file. The default name for this file is netscape.ini.
"user's profile name" The individual user's name as it appears in the Profile Manager, bracketed by quotes.
file_name The full path to the HTML document.
URL The URL of the page to display.
LDIF_file_name The full path to the LDIF file.
message The name of a file containing a message, including its full path. The default search location is the Temp directory.
attachments The name or names of the attachments or attachment lists, including the full path for each. Lists are preceded with the @ symbol, individual attachments are preceded with a hyphen. Multiple names are delimited by a vertical bar ( | ), single names are preceded by a hyphen ( - ). The default search location is the Temp directory.
nethelp_URL The URL of the NetHelp content, usually located in folders below \nethelp\netscape.
dpy The name of the Unix X server to use, in the format machinename:0.
id-or-number The specific server visual to use.
N The integer for the maximum number of colors to allocate for images.
resource-spec The name of a specific X resource.
remote-command The remote command to execute in an already-running Netscape process. For more information, see Remote Control of Unix Netscape.
window-id The ID of an X window to receive -remote commands.

Syntax Rules

For more Internet development resources, try Netscape TechSearch.

DevEdge Online FAQ
Developer Response Center
Join DevEdge Program
Copyright © 1999 Netscape Communications Corporation.
This site powered by: Netscape Enterprise Server and Netscape Compass Server.