How to Create Subwebs Using the Command Line Fpsrvadm.exe

ID: Q193222


The information in this article applies to:
  • Microsoft FrontPage 97 for Windows
  • Microsoft FrontPage 98 for Windows


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:

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

    For Windows NT:

    1. Click the Start button.


    2. Click Run.


    3. Type cmd.


    4. Click OK.


    5. 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


    For Windows 98/95:

    1. Click the Start button.


    2. Click Run.


    3. Type command.


    4. Click OK.


    5. 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


    For UNIX:

    1. Change the directory to /usr/local/frontpage/currentversion/bin.




  2. 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)


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:

   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 <username> -pw <password>
These switches can be added to either Windows or UNIX based commands, giving you the option to specify a Web administrator and their password.


REFERENCES

For additional information on using the command line FrontPage Server Administrator, please see the following Microsoft Web Site:

http://www.microsoft.com/frontpage/wpp/serk/
On the Server Extensions Resource Kit homepage, click Administration in the menu on the left, and then click "The fpsrvadm Utility."

Additional query words: Install Extensions fpsrvadm subweb dos

Keywords : fp97 fp98
Version : WINDOWS:97,98
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: August 12, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.