CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    11

    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

  2. #2
    Join Date
    Apr 1999
    Posts
    6

    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
  •  





Click Here to Expand Forum to Full Width

Featured