Microsoft KB Archive/193222

= How to Create Subwebs Using the Command Line Fpsrvadm.exe =

Article ID: 193222

Article Last Modified on 10/22/2003

-

APPLIES TO


 * Microsoft FrontPage 97 Standard Edition
 * Microsoft FrontPage 98 Standard Edition

-



This article was previously published under Q193222



SUMMARY
This article describes how to create FrontPage subwebs using the Command Line FrontPage Server Administrator (Fpsrvadm.exe).



MORE INFORMATION
To create subwebs using the Command Line FrontPage Server Administrator (Fpsrvadm.exe), perform the following steps:

 Open the command prompt. This step will differ, depending on your operating system.

For Windows NT:

 Click the Start button. Click Run. Type cmd . Click OK. At the prompt, change to the directory in which FrontPage was installed. By default, the target directory should be as follows:

C:\Program Files\Microsoft FrontPage\version3.0\bin

</ol>

For Windows 98/95:

<ol style="list-style-type: lower-alpha;"> Click the Start button.</li> Click Run.</li> Type command .</li> Click OK.</li> At the prompt, change to the directory in which FrontPage was installed. By default, the target directory should be as follows:

C:\Program Files\Microsoft FrontPage\version3.0\bin

</li></ol>

For UNIX:

<ol style="list-style-type: lower-alpha;"> Change the directory to /usr/local/frontpage/currentversion/bin.</li></ol> </li> To create a subweb, type one of the following commands (depending on your operating system) at the prompt:

fpsrvadm.exe -o install -p 80 -w WebName (for Windows operating systems)

-or-

./fpsrvadm.exe -o install -p 80 -w WebName (for UNIX operating systems)

</li></ol>

Explanation of the above syntax:
The above syntax will invoke the FrontPage Server Administrator (fpsrvadm.exe).

The Operation setting (-o) gives you a choice of what operation to perform on your new subweb. In the example above, the "install" option is used to install the FrontPage Server Extensions to a specified port, IP address, and/or subweb.

The Port setting (-p) specifies the port on which the destination server resides. In the above example, the default HTTP port 80 is used.

The Web Name setting (-w) allows you to provide a name for the new subweb that you are about to create. When you enter the command above, you will see the following: <pre class="fixed_text">  Starting install, port: 80, web: "WebName"

Creating web WebName Recalculate links for web WebName Install completed. The FrontPage Server Administrator will have successfully created a subweb called "WebName" on your Web server.

NOTE: If you intend to enable the "Use unique permissions for this Web" option, you must add the following switches to the commands detailed above.

-u -pw

These switches can be added to either Windows or UNIX based commands, giving you the option to specify a Web administrator and their password.

<div class="references_section">