User Manual table of contents
 INDEX | GETTING STARTED | TASKS | LANGUAGE | LIBRARY | SYSTEM | SAMPLES

Locating Files


Home
Products
*Tour
*Manual
Corporate
Support
Search



!
Quick Reference
Object Types
System Properties
System Methods
Command-Line
Binary Operators





How pop!siteTM Locates Files

The following objects have attributes that must specify a file or files:

  • <Include>
  • <Run>
  • <Read>
  • <Write>
A relative file specification causes pop!site to search relative to the current pop!talkTM file. These are all relative file specifications:
<include file=".\mymacros.pti">
<include file="mymacros.pti">
<include file="..\includes\mymacros.pti">

Absolute file specification may be used, as follows:
<include file="C:\web\product\includes\mymacros.pti">

You can also use UNC paths:
<include file="\\ourserver\web\product\includes\mymacros.pti">

Special Rules for Locating Include Files

If an <include> file is specified with an absolute path (e.g., <include file="c:\foo.pti">), pop!site will look for the named file only in the specified folder.

If no path is specified (e.g., <include file="foo.pti">), or a relative path is specified (e.g., <include file="dir\foo.pti">), pop!site searches:

  • first, for the named file relative to the location of the current document (or include file)
  • second, for the named file relative to each of the folders specified in the IncludePath. The pop!site installation sets the IncludePath to point to the Library folder.

On Windows95 and WindowsNT, you can modify IncludePath with the registry editor as follows:

  1. Open Regedit.
  2. Find HKEY_LOCAL_MACHINE/Software/Pragmatica/popsite/IncludePath.
  3. Modify the Data value. You can add paths, or change the existing path. Multiple paths are separated by semi-colons. pop!site searches these folders for include files in left-to-right order.
  4. Close Regedit.

 


powered by pop!site Copyright 1995-1997. Pragmatica, Inc. All Rights reserved.
Pragmatica, pop!site and pop!talk are trademarks of Pragmatica, Inc.
Modified: 23 January, 1997 23:55:58

Page Feedback
Webmaster Contact