Top "Path" questions

The general form of a file or directory name that specifies a unique location in a file system.

Reliable way for a Bash script to get the full path to itself

I have a Bash script that needs to know its full path. I'm trying to find a broadly-compatible way of …

bash path
Adding Python Path on Windows 7

I've been trying to add the Python path to the command line on Windows 7, yet no matter the method I …

python windows python-2.7 path
Get current folder path

I want to create a program that converts files. I would like the user to be able to place the …

c# .net winforms path
Open file in a relative location in Python

Suppose python code is executed in not known by prior windows directory say 'main' , and wherever code is installed when …

python file path relative-path
Server.MapPath("."), Server.MapPath("~"), Server.MapPath(@"\"), Server.MapPath("/"). What is the difference?

Can anyone explain the difference between Server.MapPath("."), Server.MapPath("~"), Server.MapPath(@"\") and Server.MapPath("/")?

asp.net path directory mapping filesystems
Relative paths in Python

I'm building a simple helper script for work that will copy a couple of template files in our code base …

python relative-path path
How to remove illegal characters from path and filenames?

I need a robust and simple way to remove illegal path and file characters from a simple string. I've used …

c# string path directory
How do I get the path of the Python script I am running in?

Duplicate: In Python, how do I get the path and name of the file that is currently executing? How do …

python path
How can I find where Python is installed on Windows?

I want to find out my Python installation path on Windows. For example: C:\Python25 How can I find where …

python windows path
How to set current working directory to the directory of the script in bash?

I'm writing a bash script. I need the current working directory to always be the directory that the script is …

bash path scripting