View Single Post
  #1  
Old 07-11-2004, 21:58
sTfN0X
 
Posts: n/a
OllyDbg + Registry question

Hi all,

I'm trying to create a loader that starts a process, execute what needs to be done, close the process and then start OllyDbg. Everything works fine when I would only need to do that.

Now the other part:
Olly has an option when you right click on a exe in Windows Explorer to debug that exe in Olly. I've found the key in the Registry and I changed the right click "Open with Ollydbg" context menu to point to my Ollyloader.exe instead of OLLYDBG.exe

For example when you right click on notepad.exe;
Olly starts with notepad.exe as command line parameter.

---> "OLLYDBG c:\windows\system32\notepad.exe"

Now my question: how can I get the path and name of the exe I right click on so that I can use it in my loader and use it as a command line parameter?



Any help would be appreciated


Thanks in advance,

sTfN0X
Reply With Quote