# FAQ: Does VisualDSP++ use absolute or relative paths?

Document created by mue on Apr 13, 2009Last modified by CraigG on Nov 12, 2013
Version 2Show Document

Q:

Does VisualDSP++ use absolute or relative paths?

----------

A:

When adding files to your project, VisualDSP++ will use a relative path if the files are on the same drive as the project file. It will use an absolute path if the files are on a different drive to the project file.
The only exception to this is if the file is located in the VisualDSP installation directory.  In this case, the install path is replaced with $VDSP. For example, if you are adding "C:\Program Files\Analog Devices\VisualDSP 5.0\Blackfin\Examples\Tutorial\dot_product_c\dotprod.c" into your project, dotprod.c is stored as "$VDSP\Blackfin\Examples\Tutorial\dot_product_c\dotprod.c" in the .dpj file.

When adding paths to Project Options (such as include files) the decision is left to the user. When using the 'browse' functionality provided, an absolute path is added. If the user chooses to change that path to a relative one, it will remain so.

----------

This FAQ was generated from the following thread: Does VisualDSP++ use absolute or relative paths?