I am using getfilepathname() to get the path of a particular file.
but it returns the path of the project. i am using findfirstfile() and
findnextfile() to get the handles, but still it doesnot show the directory
in which handle is present...

can any one help me on this issue ?

Have you ever read your own posts?
http://www.daniweb.com/forums/thread149947.html
Well, if you want the answer in this new post: no such function as getfilepathname so you can't get the path of anything from a function which is not in existence.

sorry it is GetFullPathName()...

Plz can u help now....

Remarks

GetFullPathName merges the name of the current drive and directory with a specified file name to determine the full path and file name of a specified file. It also calculates the address of the file name portion of the full path and file name

This function does not verify that the resulting path and file name are valid, or that they see an existing file on the associated volume.

> i am using findfirstfile() and findnextfile() to get the handles
I think you need to show some code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.