Software Search
HELP/FAQs?

Got questions/problems? Take a look through our FAQs (frequently asked questions), or email us at: support@bigyellowkey.com. We shall do our best to get back to you promptly.

Want Discounts?

Are your prices for multiple domains too large? Are you trying to get licences for test domains but being asked to pay full cost? Don't worry; we can add test domains to your licences manually. Just purchase a single domain addon/upgrade for what it is that you need, and then email us about your situation regarding the remaining domains and we'll liaise with you over the options. email us at: support@bigyellowkey.com. We shall do our best to get back to you promptly. click here for more information regarding multiple domains, upgrades, and discount policies.

BigYellowKey News
(click here to view all BYK news)

Imminent: 4/1/2016 4:05:00 PM
BYZ Development Points have been changed
Click Here for details.
The new BYZ Development Points (BYZ192) replace all previous BYZ Points which are now no longer available.

Released: 4/1/2016 3:05:00 PM
BYZ Annual Pass Now Available!
Click Here for details.
The BYZ Annual Pass replaces the BYZ addon subscription service.

Released: 4/1/2016 2:05:00 PM
The BYZ Terms and Conditions have been changed.
Click Here for details.

Apologies, but online Payments are temporary unavailable as we are in the process of changing our payment gateway.
Please contact us if you wish to place an order and we will organize a manual payment process for you.
We hope/expect online payments to be available again soon.

Directory Path Calculator for ASP - BYZ143

<< back to previous screen

Calculates the relative path between 2 folders, when you know the relative (or absolute) path to those 2 folders.



Directory Path Calculator for ASP - BYZ143
Latest version:05/01-APR-2015
From vendor:Big Yellow Zone
For Terms and Conditions, click here
Please do not purchase any BigYellowZone
products/services or request technical
support until you have read and agree with
the terms and conditions.
Price:£10.00
add to cart


Compatibility, Bundling, and Status Notes:
Compatible with any asp system.
This software is also used by, and already included within:
BYZ027 (Multiple Directories for VPCart)
BYZ110 (Content Enhancements for VPCart)
BYZ163 (Product File Management Enhancements for VPCart)
BYZ164 (Category File Management Enhancements for VPCart)

"I know where folder "x" is, and I know where folder "y" is, but I need to work out the relative path to get me from "x" to "y". How Can I do that?" - You can use the functions in this software to calculate that relative path for you.
  • Works with relative paths.
  • Works with absolute paths.
  • Works with browsing urls.

More details:

For example, "I want to get from "../content" to "test/products", what's the relative path to do that?"

or, "I want to get from "a:/b/c" to "a:/b/d/e", what's the relative path to do that?"

For "x" and "y" folders, you can specify the relative path to "x" and "y", or you can specify the absolute path of "x" and "y". You can even supply browsing urls for "x" and "y".

It also includes a test file where you can experiment with different options to make sure it will return the correct values for what you need to use it for.


Technical/Developer Information:
This is programmed in classic asp. It consists of a single file which you can include anywhere in your existing asp file(s) as a collection of library functions which you can then call from any of your asps which have the file included in its list of includes. No special server software is required; it's simple/classic asp; if your site can run asp files, then this will work.

Examples of situations where you might find it useful are things like:
1) Relative links in asp pages
For example, you've got a generic asp template file, and you want to code-up links within the file which point somewhere specific. You can use the functions to work out what the path is from where you currently are, to the file that you want to link to, and then use that in the link.
2) Creating "static" pages via asp.
This is where you've got a program which creates asp files (eg content files from content data), and you want to write include lines to that file which point to the right area, eg to add an include for: "../../mylib_inc.asp" where the ".." part of the path is calculated taking account of where you're creating the file from and where the file will be run from.


Terms and Conditions:
For terms, conditions, and licensing information for all BigYellowZone products/services, please click here.
Please do not purchase any BigYellowZone products/services or request technical support until you have read and agree with the terms and conditions.


Full Version History:
VerNo Version Date Release Notes
01 07-AUG-2008 Initial version - Big Yellow Zone Directory Path Calculator for ASP
02 16-JAN-2009 Created version file for reference/info.
Effected Files:
README.htm (changed file)
byz$143_version.asp (new file)
byz_ptc_inc.asp (changed file)
byz_ptc_test.asp (changed file)
03 07-APR-2010 Added extra installation notes for VPASP users who are on VPASP V7.
Effected Files:
README.htm (changed file)
byz$143_version.asp (changed file)
byz_ptc_inc.asp (changed file)
byz_ptc_test.asp (changed file)
04 10-OCT-2012 Various html changes made to the debug and test output, and changed logic to deal with nulls better.
Split the documentation into separate files for each section and clarified/simplified the installation instructions.
Added live version/upgrade checks to the documentation documents.
Effected Files:
README*.htm (changed files)
byz$143_version.asp (changed file)
byz_ptc_inc.asp (changed file)
byz_ptc_test.asp (changed file)
05 01-APR-2015 Enhanced/changed to cater for VPCart V8.
Changed instances of VP-ASP/VPASP to VPCart as VPASP has now been rebranded/renamed.
Effected Files:
README* (changed files)
byz$143_version.asp (changed file)
byz_ptc_inc.asp (changed file)
byz_ptc_test.asp (changed file)