|
The way I have done this is:
Establish the directory name of the file in question (Other unix-style
systems have dirname and basename but they are missing from the APIs list.
Not hard to roll your own if you cannot find it for AIX.) Once you have
dir
name, do a CHDIR to that value. Then obtain the current directory
('getcwd'). The result will be the resolved name.
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.