By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,974 Members | 1,834 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,974 IT Pros & Developers. It's quick & easy.

Communicate With Windows Explorer Via Context Menu?

P: n/a
I'm hoping someone can offer some guidance regarding a concept I
have. I'm trying to perform the following within Windows Explorer:

1. Add an entry to the context menu which should be executed upon
right-click of a folder or right-click of an open white space within
the righthand pane.

2. Run the program that will create a pre-determined folder path --
possibly several folders deep -- within the folder that was originally
right-clicked on.

3. Navigate to the pre-determined path within the same Explorer window
that was originally opened. (Note: I do not want the new path to open
within a new window. I'd like to utilize the window already opened.)

So far, I've been able to handle the first half of #1 (still need to
figure out how to add the menu item to the context menu for the white
open space). I've also got #2 nailed down nicely. However, I can't
figure out how to communicate the results of #2 back to Windows
Explorer to perform #3. I basically need a way for my program to say,
"Explorer.exe, I've just created path 'c:\test\xyz'... now, browse to
it." Is this even possible? If so, how?

Any thoughts or references would be greatly appreciated.
Feb 11 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.