user380527 user380527 - 1 year ago 91
Bash Question

Windows shell add item to context menu when click on blank part of folder

Sorry if this has been asked before, I've been looking around and it's hard to find what I want.

I know how to add a context menu item to a folder like so:

@="Open Console2 Here"

@="C:\\Program Files\\Console\\console.exe -d \"\"%1\"\""

but, that only works for right clicking on a folder. I want it so that you can be inside the folder, and click a blank part of that folder and get the context menu item as well. I also tried
as well, but it does the same.

Answer Source

I figured out the answer. The folder is actually Directory\Background, you have to add the empty string value of NoWorkingDirectory into it, and the %1 in the command becomes a %V

@="Open Console2 Here"

@="C:\\Program Files\\Console\\console.exe -d \"\"%V\"\""

Source: saviert's comment at

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download