Fundamentals > Creo Parametric User Interface > The File Menu > Opening Files > Example: Adding Search Paths
Example: Adding Search Paths
For maximum clarity, you should specify only one directory path name in the Value field in the Options dialog box. You can set the option any number of times in the configuration file. You can also set the configuration option search_path_file to a file that contains multiple search paths.
The two directories shown in the following example are added by setting the configuration option twice.
search_path /components/washers
search_path wtpub://<alias> where <alias> is the name you specify in the site registry dialog box.
Separator Characters and Search Paths
You must enclose in quotation marks any search path with a separator character (space, comma, or semicolon) in a directory name, for example:
Windows: search_path "C:\Program Files\proe2001\models"
* For Windows NT, omit the last backslash (\) from the path, or enclose the path in quotation marks, or add a trailing space after the backslash.
Using More Than One Path
The system permits you to enter several path names on a single line, separated by commas, or semicolons. You must use the same delimiter within the same line to separate path names. For instance, you cannot use a space and a comma in the same line. If you wanted to include the directories /components/washers and wtpub://windchill_server but you wanted to set the search_path option only once, you would add the two directories at the same time in the Value field, as shown in the following example:
search_path /components/washers, wtpub://windchill_server
* Make sure you separate the directory paths with spaces, semicolons, or commas.