CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    how can i retrieval the whole path in a computer(like explore)

    as subject


  2. #2
    Join Date
    Aug 1999
    Posts
    18

    Re: how can i retrieval the whole path in a computer(like explore)

    Do you mean like the MFC (?) function

    CFile::GetFilePath();

    ??

    (extract from MSDN Library follows: (c) MS)
    <<

    virtual CString GetFilePath( ) const;



    Return Value

    The full path of the specified file.

    Remarks

    Call this member function to retrieve the full path of a specified file. For example, when you call GetFilePath to generate a message to the user about the file c:\windows\write\myfile.wri, the file path, c:\windows\write\myfile.wri, is returned.

    To return just the name of the file (myfile.wri), call GetFileName. To return the title of the file (myfile), call GetFileTitle.
    >>

    // Mikael Johansson



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