Top "Relative-path" questions

Relative-paths are URI or directory links to resources that refer to a location relative to the current path.

Resolve absolute path from relative path and/or file name

Is there a way in a Windows batch script to return an absolute path from a value containing a filename …

windows batch-file relative-path absolute-path
Using Server.MapPath in external C# Classes in ASP.NET

I'm trying to get the absolute path of certain files in a C# class. Server.MapPath works great of course …

c# asp.net file path relative-path
PHP absolute path to root

I can't believe PHP doesn't have an easy solution for this simple matter. ASP.NET has a ~ sign that takes …

php relative-path absolute-path
How to refer to relative paths of resources when working with a code repository

We are working with a code repository which is deployed to both Windows and Linux - sometimes in different directories. …

python path relative-path
How to use relative/absolute paths in css URLs?

I have a production and development server. The problem is the directory structure. Development: http://dev.com/subdir/images/image.…

css relative-path absolute-path
relative path in BAT script

Here is my own program folder on my USB drive: Program\ run.bat bin\ config.ini Iris.exe library.dll …

batch-file cmd relative-path drive
How to use relative paths without including the context root name?

To working my static file (CSS, JS) I have to write absolute path like /AppName/templates/style/main.css. Is …

jsp servlets resources relative-path contextpath
How to open my files in data_folder with pandas using relative path?

I'm working with pandas and need to read some csv files, the structure is something like this: folder/folder2/scripts_…

python pandas relative-path
How does Java resolve a relative path in new File()?

I am trying to understand the way Java resolves relative path in while creating a File object. OS used: Windows …

java file relative-path
Importing from a relative path in Python

I have a folder for my client code, a folder for my server code, and a folder for code that …

python python-3.x import shared-libraries relative-path