Displaying 1 result from an estimated 1 matches for "tp4553386p4553409".
2012 Apr 12
3
directory of current script
I am running a series of scripts sequentially and they all need some global
parameters. These will be included in a file in a known sub directory as the
scripts themselves.
The scripts need to be run by anyone without ANY editing.
Question is:
Is there a command to return the directory of the current script, so it then
knows where to find the global parameter file?
Or is there a simpler way?