DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: This is probably somewhat outside of the scope of a coding snack -- though it wo  (Read 6,727 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
This is probably somewhat outside of the scope of a coding snack -- though it would make a terrific NANY application.

The idea is to make a commandline utility that can invoke one of the right-click file/folder context menu shell extensions on a file/folder.

That is, there are some programs / shell menu extensions that can only be accessed interactively from a file explorer tool.  For example, right clicking on a file to upload an image to an online gallery, or selecting a file for a file comparison tool.

These shell extensions do expose their info via a dll in a predictable way to file explorers, so it should be possible to load them in a comandline utility and select one not by showing the user a menu but by using a commandline tool that specifies the target file and some pattern to match against the menu to select it.

Such a utility would let us batch execute such context menu extensions programatically, and invoke them from other programs.

worstje

  • The Gent with the White Hat
  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 589
    • Coding Snacks
    • Participated in NANY Challenge Three Times
You just had to ask... so I deliver.



Just posting here to make sure someone else isn't going to reinvent the Wheel.

Original address: https://www.donationcoder.com/forum/index.php?topic=24266.0