Jump to content

Recommended Posts

Posted

An alternative could be open the process read memory strings search for the name file that notepad tittle bar show. then good back till ":" + Disk letter. Maybe I'll write something when I got some free time.

Saludos

Posted

Maybe this one's worth a try:

http://www.codeproject.com/Articles/18975/Listing-Used-Files

OpenFileFinder.dll export:

  • void GetOpenedFiles( LPCWSTR lpPath, OF_TYPE Filter,OF_CALLBACK CallBackProc,UINT_PTR pUserContext );

If you call this function and pass a callback pointer, for each file handle that matches the input path, the callback function will be called.

Posted

from what I can gather from post #12 the OP wants to open wordpad, write something in it and without it being saved, to get the path of it.

Not true.  I only want the path and name of a normally-opened file!

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...