Path of file

  • Thread starter emanshu Innovative MInd
  • Start date
E

emanshu Innovative MInd

Hi,

I want to find the path of file which is currently open in the notepad.
is there any way in c to do this.

Plz Help

Munish
 
F

Flash Gordon

emanshu said:
I want to find the path of file which is currently open in the notepad.
is there any way in c to do this.

No, since C knows nothing of notepad or file paths or the possibility of
there being another process running on the box. There may, possibly, by
some Windows specific hack to do this (I assume you are using Windows),
but probably not. For any possible solution you will have to ask in a
Windows group since there is no solution we can provide here.
 
M

Malcolm

emanshu Innovative MInd said:
I want to find the path of file which is currently open in the notepad.
is there any way in c to do this.
[OT] reverse engineer notepad to find out where it stores the current path.
Then reverse engineer Windows to see how to subvert inter-process
protection. Then scan memory for the notepad executable and read the path.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top