Results 1 to 5 of 5

Thread: Adding a menu item to all files

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    31
    Could someone please tell me what I do to the registry to add a menu item to all files? (Ex: Open With My App, on every file... NOT folders though) Thanks!

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    I think you need to do a loop trough all entries in the Registry regarding files (think they all start with . (.exe)), the entries for the folder doesn't start with . so it wouldn't be added.

    And another Q.
    What does your prog do?
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    31
    It's alright I found it again, thanks.
    You modify the "*" key under HKEY_CLASSES_ROOT and add a "Shell" key, then place a key under that one for your menu (Ex: "Open With My Prog"), then under that key, another key called "command" in which the (Default) string value is the path to your program followed by %1 where you want Windows to give the path of the file...

  4. #4
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Yeah I knew all that stuff except for the * key that's pretty cool, but doesn't it add the folder thing then aswell ?
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    31
    Nope... It just adds for all files. I'm guessing because folders don't have an extension. There's a separate entry for Folders around the same area...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width