|
-
April 26th, 1999, 09:25 AM
#1
how can i retrieval the whole path in a computer(like explore)
-
August 5th, 1999, 02:32 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|