How can we get the pathname to a script within itself, when `source` it?
10754
determining path to sourced shell script
25802
When writing a bash script, how do I get the absolute path of the location of the current file?
72221
View remote value of $PATH inside shell script
113097
How do I get a file name from a full path with PHP?
92196
Get path of my script file
89409
How might I get the script filename from within that script?
133224
What are the Default $PATH Values?
12149
How do I get the path and name of the file that is currently executing?
3146
What are PATH and other environment variables, and how can I set or use them?
81882
How can I get the application's path in a .NET console application?
118180
Get the current script file name
69083
Windows shell command to get the full path to the current directory?
6538
How do you properly determine the current script directory?
140921
How can I get another application's installation path programmatically?
81785
How does one extract each folder name from a path?
82784
How do I get a module path?
60968
Can a default path be set globally for \input{...} akin to \graphicspath{...}?