Hello everybody,
I need a way to retrieve the path (e.g. as String) of the current directory or some file, beginning with the drive letter, not the Computer name.
Unfortunately, functions as System.getProperty("user.dir") or file.getAbsolutePath() just return results such as
"\\PC13-284\Users\someuser..."
instead of
"C:\Users\someuser...".
What can I do?
Thanks a lot,
Regards,
Apotekarnes
I need a way to retrieve the path (e.g. as String) of the current directory or some file, beginning with the drive letter, not the Computer name.
Unfortunately, functions as System.getProperty("user.dir") or file.getAbsolutePath() just return results such as
"\\PC13-284\Users\someuser..."
instead of
"C:\Users\someuser...".
What can I do?
Thanks a lot,
Regards,
Apotekarnes