FCGetNotebookDirectory[]
is a convenience function that returns the directory in which the current notebook or .m file is located. It also works when the FrontEnd is not available.
[] FCGetNotebookDirectory
\text{/media/Data/Projects/VS/FeynCalc/FeynCalc/Documentation/Mathematica/Shared/Tools/}