|
-
March 29th, 1999, 08:00 AM
#1
To Get The Absolute Path Of A File
My Actual problem is that I want to get the absolute path of a file whose path I don't know to specify(while creating the file Object) In other words I want my application to perform an action similar to 'find' command on my computer using a Java application.
Regards
Kalpana
-
March 29th, 1999, 03:27 PM
#2
Re: To Get The Absolute Path Of A File
there is a method in file class which is as follows
String getAbsolutePath();
Try this it should work.
Ravi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|