Example:

Script is found in:
wwwroot\inetpub\TestWeb\Main\Edit\Pages\TestScript.asp

What I do, when I'm running scripts in a big mess of hierarchy, I refer back
to the application's root folder, then specify the script I want to use.

<!-- #include file="/TestWeb/Main/Edit/Pages/TestScript.asp" -->



-----Original Message-----
From: Johnny Martinez [mailto:jmartinez@;tmi-la.com]
Sent: Thursday, October 31, 2002 2:18 PM
To: ActiveServerPages
Subject: Include Pathing


Hi all,
How can I code the path to the root for an include file? This script is
three levels deep and I need to access the root level for the include file.

Using ../ only goes up one level. Additionally, how can I go up more than
one level?

<!--#include file="../connection.asp"-->

Johnny

---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to