getpath¶
Purpose¶
Returns an expanded filename including the drive and path.
Format¶
-
fname =
getpath
(pfname)¶ - Parameters
pfname (string) – partial filename with only partial or missing path information.
- Returns
fname (string) – filename with full drive and path.
Examples¶
// Get path of `temp.e`
y = getpath("temp.e");
print y;
C:\gauss\temp.e
assuming that C:\gauss
is the current directory.
Remarks¶
This function handles relative path references.
Source¶
getpath.src