473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Integrating an app with Windows Explorer context menu

Well, I've spent the last 5 hours with Google, trying to find the answer
to this question--I have an app that needs to perform its operations on
a folder (or folder background) selected in Windows Explorer. I also
downloaded a 3rd-party app DLL (Fast Explorer) that lets me add my
own items to the context menu. So far, so good.

However, when I activate my app from the context menu, I can't
figure out how to pass the name of the selected folder to my app.
It insists its working folder is "C:\WINDOWS\system32\1033".
TIA for any help or suggestions.
Nov 21 '05 #1
1 2090
"Patrick Pirtle" <Sp**@technotrope.com> wrote in message
news:10*************@corp.supernews.com...
Well, I've spent the last 5 hours with Google, trying to find the answer
to this question--I have an app that needs to perform its operations on
a folder (or folder background) selected in Windows Explorer. I also
downloaded a 3rd-party app DLL (Fast Explorer) that lets me add my
own items to the context menu. So far, so good.

However, when I activate my app from the context menu, I can't
figure out how to pass the name of the selected folder to my app.
It insists its working folder is "C:\WINDOWS\system32\1033".
TIA for any help or suggestions.


It might be just "%1". This is from a .reg file I use to add "Command
Prompt" to Explorer's context menu when you right click a directory name:

[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt\Command]
@="cmd /k cd \"%1\""

So your registry entry would need to be something like this:

[HKEY_CLASSES_ROOT\Directory\shell\Patrick App\Command]
@="PatrickApp \"%1\""

I am not totally clear on the backslash issue, i.e. what's needed for "cmd"
and or "cd", but I hope it is enough to get you going in the right
direction.
Best Regards,

Andy
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tom Dacon | last post by:
"Open .Net Command Window Here" context menu for Windows Explorer: The reg file described below adds a new menu item to Windows Explorer's context menu when you right-click over a folder (or the...
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
2
by: gilad | last post by:
Hi, I seem to be having a problem getting a context menu to work in Explorer. The menu item installs fine, but when I click it a message box should pop up indicating the command was received and...
0
by: philaphan80 | last post by:
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...
5
by: =?Utf-8?B?SmFwZQ==?= | last post by:
im writing a c# console application that copies files chosen from the windows explorer. I chose the files i want to copy and then from the (right key) menu chose my program. the program starts...
0
by: sony.m.2007 | last post by:
Hi, I'm trying to add a contextmenu(adding my custom context menu) to windows explorer. This context menu has to be shown for all files and folder Th new context menu will be like this ...
3
by: Aussie Rules | last post by:
Hi, I have an application that processes files from the users hard disk. The user is able to select what files they want processed from there hard disk in windows explorer. In windows...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.