Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6246517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:42:17+00:00 2026-05-24T12:42:17+00:00

I can add a new item for the folders right click menu using registry:

  • 0

I can add a new item for the folders right click menu using registry:

HKEY_CLASSES_ROOT\folder\shell\Your item name

But i don’t know how to set a icon for created item like this :

enter image description here

May somebody help me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T12:42:19+00:00Added an answer on May 24, 2026 at 12:42 pm

    To create a custom context menu with an icon when clicking on a folder follow these steps:

    1. Under HKEY_CLASSES_ROOT\folder\shell\ create a new key: “MyContextMenu”
    2. Under HKEY_CLASSES_ROOT\folder\shell\MyContextMenu edit the (Default) key to specify the text to show in the context menu: MyMenu
    3. To execute a command when the menu is chosen add a new key name “Command” and set the commmand to execute in it’s (Default) value. For instance: cmd.exe
    4. Now to set the icon you add a new string value name Icon and set it’s value to the *.ico you want to show or you can reference an ico that is embedded in a dll using [name of the dll],[icon number] A lot of the default windows icons are in imageres.dll. So for this example set the value to: c:\windows\system32\imageres.dll,10

    There is a nice tool called iconviewer that you can use to examine icons in dlls. After you install it you can right click a dll, open it’s properties and an extra tab with it’s icons will be added to the propery pages

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a web page where the user can add a new item to
How can I, in Java or using some other programming language, add a new
I have the problem: I can not add new item to the same combobox
I need to add new item to the hyperlink menu in Outlook 2007 (now
Can I add new Silverlight 2.0 projects to my ASP.NET 2.0 web app and
I know that i can enter/add new properties via code manually into partial classes
I am new to wxPython. Can someone help me in: How to add multiple
I've always wondered what is the best way to add a new item to
I have several forms(user can add new form dynamically) in one page, they're all
Hi I'm hoping you can help me figure out why I can't add new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.