Sign in to follow this  
Followers 0
dunk6

Finding a program execution(.exe) location.

11 posts in this topic

Hi all,

i have a program which only running by right clicking. When we install it, it added into right click menu(not sure exact term to calls.)

I want to write a code on automated on this program but i couldn't find it's execution file. i believe it must be ext ".exe"

So my problem is how can i find the .exe location?

thanks in advance.

Share this post


Link to post
Share on other sites



What's the name of that program...? Start > Search.. enter the name.. if you're lucky, you will find NameOfTatProgram.exe.. check the properties of that .exe file... you should know its location by now


Hi ;)

Share this post


Link to post
Share on other sites

Or check the windows registry. Try to search for whatever you know about the application. Maybe you'll come across something good.

Share this post


Link to post
Share on other sites

Welcome to the forum.

I think that the term for a "right click menu" is a context menu:

http://windowsxp.mvps.org/context_folders.htm

And it might be a DLL and not an EXE.

For example, "Desktop Restore" by Jamie O’Connell installs one DLL file and one document.

From that document:

Tech. Notes: The application is named dkticnsr.dll, and is installed to the application folder “[bootDrive]:\Program Files\Desktop Restore” (i.e. no longer to: Windows System ShellExt folder). The module is registered with the system as a COM component. The registry key used for storage is: HKEY_CURRENT_USER\Software\JOConnell\DeskTop. Each desktop icon is stored as a subkey under this location.

So, you might be jumping into working with DLLs.

Like Yashied asked: Do you see this menu item when you right click on a file or folder?

For folders, you can start your hunt in this area via regedit:

HKCR\Folder\ShellEx\ContextMenuHandlers\

Which should give you a CLSID to search for...

Which should give you want is being called when you select a given item from a context menu.

Happy hunting.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Right clicking where? On the file (what the extension)? On the Desktop?

right click on all kind of files and folders. Like winzip

What's the name of that program...? Start > Search.. enter the name.. if you're lucky, you will find NameOfTatProgram.exe.. check the properties of that .exe file... you should know its location by now

Or check the windows registry. Try to search for whatever you know about the application. Maybe you'll come across something good.

Thanks for the reply.. Found the location which i installed the program. But here only have 1 exe and the lots of dll files. The program mention is an encryption/decryption program, so it was suppose 2 exe right? Only have here is decrypt .exe not encrypt .exe. Is there a possibilities that the encypttion exe are done using these dlls?

thank you!

Share this post


Link to post
Share on other sites

For folders, you can start your hunt in this area via regedit:

HKCR\Folder\ShellEx\ContextMenuHandlers\

Which should give you a CLSID to search for...

Which should give you want is being called when you select a given item from a context menu.

Happy hunting.

i attach here the context menu list and the findings that i got. it seems that it, the name for the context menu didnot appeared here. even there are values that idont know what's that means :)

thankz

post-53292-12543889088871_thumb.png

post-53292-12543889167757_thumb.png

Share this post


Link to post
Share on other sites

Read program documentation, look for the possibility of execute this program using Command Line... if it's possible, then it's much easier to encrypt the target file..


Hi ;)

Share this post


Link to post
Share on other sites

right click on all kind of files and folders. Like winzip ...

Then it will be in the section for files and folders:

Posted Image

...and it should be under ContectMenuHandlers.

If there are several and you cannot recognize the one of interest by the reg key name, then look them all up until you find an entry that points to the folder that you ave already located for your program. "Look them up" by double clicking where I've circled in green - then copy that info and search for a key:

Posted Image

This should locate the DLL of interest to you:

Posted Image


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Thank you very much.

that's answer my problems. thanks all!!

But if in this case, can AutoIt automate program using dll extension instead of .exe?

eg:

Run("someProgram.exe")

Share this post


Link to post
Share on other sites

Thank you very much.

that's answer my problems. thanks all!!

But if in this case, can AutoIt automate program using dll extension instead of .exe?

eg:

Run("someProgram.exe")

Probably... but I've never done it.

You can start learning by reading:

monoceres http://www.autoitscript.com/forum/index.php?showtopic=80724

trancexx http://www.autoitscript.com/forum/index.php?showtopic=85618

monoceres http://www.autoitscript.com/forum/index.php?showtopic=93496

There may be other good threads for learning about working with DLLs, those just came up in a forum search


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0