Shell Extension Custom Folder and Folder Association

Discussion in 'Windows Vista General Discussion' started by extraz, Sep 16, 2008.

  1. extraz

    extraz Guest


    Just wondering if it is possible to make a folder association on
    windows xp/vista

    Basically I have a folder with alot of things in it and I want my users
    to just double click on that folder then it will launch my application
    and have my application to go through the contents inside that folder. I
    know how to do a file assoication but I really want to implement folder

    the reason behind this is because I want my application to produce
    these custom folders (many of these "packages") and when my users double
    click on these "packages" instead of openning it as a folder, it will
    launch my application and go through these "packages", is kind of like a
    portable thing..

    I have been experimenting with things, the code below sort out some of
    my problems, but not exactly what I want...

    if I rename a Vista folder and add the extension of the CLSID i.e.

    (Please Refer to the code below)

    it will create MyCustomfolder, but it does not give open my application
    via double click


    Windows Registry Editor Version 5.00





    [HKEY_CLASSES_ROOT\CLSID\{30a7e1b3-e763-4789-a54d-fcc53dcf973a}\Shell\Open MyCustomFolder]

    [HKEY_CLASSES_ROOT\CLSID\{30a7e1b3-e763-4789-a54d-fcc53dcf973a}\Shell\Open MyCustomFolder\Command]
    @="C:\\Program Files\\MyApplication.exe"






    Can someone kindly shed some light?

    Thank you so much
    extraz, Sep 16, 2008
    1. Advertisements

  2. That is your first mistake. You don't think. You are just an idiot. Get
    away from the computer. Run far far away.
    Ringmaster's Psychiatrist, Sep 17, 2008
    1. Advertisements

  3. extraz

    emdktl Guest


    [HKEY_CLASSES_ROOT\CLSID\{30a7e1b3-e763-4789-a54d-fcc53dcf973a}\Shell\Open\Command]@="C:\\Program Files\\MyApplication.exe"

    this is the standart to open on doubleclick

    you don't hav to rename the folder
    you can use desktop. ini with:
    CLSID={30a7e1b3-e763-4789-a54d-fcc53dcf973a}and maby it does not work
    becouse your parh is not quoted but it contains a space do it chould be quoted
    emdktl, Oct 28, 2008
  4. extraz

    Peter Foldes Guest

    To whom and to what did you address this post of your to
    Peter Foldes, Oct 28, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.