PC Review


Reply
Thread Tools Rate Thread

Associate a set of directories to an application and to a custom icon

 
 
Karthik.R
Guest
Posts: n/a
 
      12th Jul 2005
Hi Techies,

I have various folders with "*.tes" format say "sample1.tes",
"sample2.tes", "sample3.tes" in Windows. These folders should be opened
with my installed application "sample.exe" and folders of this type should
be shown with my custom icon "sample.ico". How can I configure in registry
to accept this requirement? Is this possible on first hand with respect to a
set of directories?


Looking forward for someone's reply at earliest,


Regards,
Karthik.


 
Reply With Quote
 
 
 
 
Dave Patrick
Guest
Posts: n/a
 
      12th Jul 2005
This may help.

http://msdn.microsoft.com/library/de...ing/custom.asp

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Karthik.R" wrote:
| Hi Techies,
|
| I have various folders with "*.tes" format say "sample1.tes",
| "sample2.tes", "sample3.tes" in Windows. These folders should be opened
| with my installed application "sample.exe" and folders of this type should
| be shown with my custom icon "sample.ico". How can I configure in registry
| to accept this requirement? Is this possible on first hand with respect to
a
| set of directories?
|
|
| Looking forward for someone's reply at earliest,
|
|
| Regards,
| Karthik.
|
|


 
Reply With Quote
 
Karthik.R
Guest
Posts: n/a
 
      12th Jul 2005
Hi,

Thanks a lot for this useful information. I have few doubts as I new to
certain Windows concepts like CLSID....

1.


[ExtShellFolderViews]
Default={5984FFE0-28D4-11CF-AE66-08002B2E1262}
{5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262
}

[{5984FFE0-28D4-11CF-AE66-08002B2E1262}]
PersistMoniker=file://Folder.htt

What does this { ....}, Folder.htt(template) indicate? Please throw a kick
start on this so that I can read and extend my knowledge.

2. Is it possible to instruct a folder of *.tes whenever created to have
desktop.ini file automatically added to it?

3. How can I configure in desktop.ini to open the folder in my application
instead of by default in the explorer?

Regards,
Karthik.




"Dave Patrick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> This may help.
>
>

http://msdn.microsoft.com/library/de...ing/custom.asp
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "Karthik.R" wrote:
> | Hi Techies,
> |
> | I have various folders with "*.tes" format say "sample1.tes",
> | "sample2.tes", "sample3.tes" in Windows. These folders should be opened
> | with my installed application "sample.exe" and folders of this type

should
> | be shown with my custom icon "sample.ico". How can I configure in

registry
> | to accept this requirement? Is this possible on first hand with respect

to
> a
> | set of directories?
> |
> |
> | Looking forward for someone's reply at earliest,
> |
> |
> | Regards,
> | Karthik.
> |
> |
>
>



 
Reply With Quote
 
Karthik.R
Guest
Posts: n/a
 
      13th Jul 2005
One more thing related to point 3 query

I meant the folder of type "*.tes" say "test1.tes" when clicked, should open
in my application "test.exe".[ It uses the folder name as argument to my
executable and opens it.].
Should this be done throught Folder.htt template? I am not sure...

Regards,
Karthik.


"Karthik.R" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> Thanks a lot for this useful information. I have few doubts as I new to
> certain Windows concepts like CLSID....
>
> 1.
>
>
> [ExtShellFolderViews]
> Default={5984FFE0-28D4-11CF-AE66-08002B2E1262}
>

{5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262
> }
>
> [{5984FFE0-28D4-11CF-AE66-08002B2E1262}]
> PersistMoniker=file://Folder.htt
>
> What does this { ....}, Folder.htt(template) indicate? Please throw a

kick
> start on this so that I can read and extend my knowledge.
>
> 2. Is it possible to instruct a folder of *.tes whenever created to have
> desktop.ini file automatically added to it?
>
> 3. How can I configure in desktop.ini to open the folder in my application
> instead of by default in the explorer?
>
> Regards,
> Karthik.
>
>
>
>
> "Dave Patrick" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > This may help.
> >
> >

>

http://msdn.microsoft.com/library/de...ing/custom.asp
> >
> > --
> > Regards,
> >
> > Dave Patrick ....Please no email replies - reply in newsgroup.
> > Microsoft Certified Professional
> > Microsoft MVP [Windows]
> > http://www.microsoft.com/protect
> >
> > "Karthik.R" wrote:
> > | Hi Techies,
> > |
> > | I have various folders with "*.tes" format say "sample1.tes",
> > | "sample2.tes", "sample3.tes" in Windows. These folders should be

opened
> > | with my installed application "sample.exe" and folders of this type

> should
> > | be shown with my custom icon "sample.ico". How can I configure in

> registry
> > | to accept this requirement? Is this possible on first hand with

respect
> to
> > a
> > | set of directories?
> > |
> > |
> > | Looking forward for someone's reply at earliest,
> > |
> > |
> > | Regards,
> > | Karthik.
> > |
> > |
> >
> >

>
>



 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a
 
      13th Jul 2005
No. I doubt that is possible.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Karthik.R" wrote:
| One more thing related to point 3 query
|
| I meant the folder of type "*.tes" say "test1.tes" when clicked, should
open
| in my application "test.exe".[ It uses the folder name as argument to my
| executable and opens it.].
| Should this be done throught Folder.htt template? I am not sure...
|
| Regards,
| Karthik.
|
|
| "Karthik.R" <(E-Mail Removed)> wrote in message
| news:(E-Mail Removed)...
| > Hi,
| >
| > Thanks a lot for this useful information. I have few doubts as I new to
| > certain Windows concepts like CLSID....
| >
| > 1.
| >
| >
| > [ExtShellFolderViews]
| > Default={5984FFE0-28D4-11CF-AE66-08002B2E1262}
| >
|
{5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262
| > }
| >
| > [{5984FFE0-28D4-11CF-AE66-08002B2E1262}]
| > PersistMoniker=file://Folder.htt
| >
| > What does this { ....}, Folder.htt(template) indicate? Please throw a
| kick
| > start on this so that I can read and extend my knowledge.
| >
| > 2. Is it possible to instruct a folder of *.tes whenever created to
have
| > desktop.ini file automatically added to it?
| >
| > 3. How can I configure in desktop.ini to open the folder in my
application
| > instead of by default in the explorer?
| >
| > Regards,
| > Karthik.


 
Reply With Quote
 
Karthik.R
Guest
Posts: n/a
 
      13th Jul 2005
Oops....where does the entry for folders to open in explorer gets stored?

I thought it can be configured to open as an individual file association to
an application!!
-Kar


"Dave Patrick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> No. I doubt that is possible.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "Karthik.R" wrote:
> | One more thing related to point 3 query
> |
> | I meant the folder of type "*.tes" say "test1.tes" when clicked, should
> open
> | in my application "test.exe".[ It uses the folder name as argument to my
> | executable and opens it.].
> | Should this be done throught Folder.htt template? I am not sure...
> |
> | Regards,
> | Karthik.
> |
> |
> | "Karthik.R" <(E-Mail Removed)> wrote in message
> | news:(E-Mail Removed)...
> | > Hi,
> | >
> | > Thanks a lot for this useful information. I have few doubts as I new

to
> | > certain Windows concepts like CLSID....
> | >
> | > 1.
> | >
> | >
> | > [ExtShellFolderViews]
> | > Default={5984FFE0-28D4-11CF-AE66-08002B2E1262}
> | >
> |
>

{5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262
> | > }
> | >
> | > [{5984FFE0-28D4-11CF-AE66-08002B2E1262}]
> | > PersistMoniker=file://Folder.htt
> | >
> | > What does this { ....}, Folder.htt(template) indicate? Please throw a
> | kick
> | > start on this so that I can read and extend my knowledge.
> | >
> | > 2. Is it possible to instruct a folder of *.tes whenever created to
> have
> | > desktop.ini file automatically added to it?
> | >
> | > 3. How can I configure in desktop.ini to open the folder in my
> application
> | > instead of by default in the explorer?
> | >
> | > Regards,
> | > Karthik.
>
>



 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a
 
      13th Jul 2005
As far as I know no it can't.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Karthik.R" wrote:
| Oops....where does the entry for folders to open in explorer gets stored?
|
| I thought it can be configured to open as an individual file association
to
| an application!!
| -Kar


 
Reply With Quote
 
Mark V
Guest
Posts: n/a
 
      13th Jul 2005
In microsoft.public.win2000.registry Karthik.R wrote:

> One more thing related to point 3 query
>
> I meant the folder of type "*.tes" say "test1.tes" when clicked,
> should open in my application "test.exe".[ It uses the folder
> name as argument to my executable and opens it.].
> Should this be done throught Folder.htt template? I am not
> sure...


I don't think you can do that. But one could arrange for the custom
executable to receive a fully qualified directory-name and then seek
for and open all the files within it perhaps. SendTo menu might be
helpful there. It may be possible to add a context menu to folders
to "open in xyz.exe" too. But, (and if I understand you correctly)
there is no such mechanism that can "associate" a directory to an
executable by an "extension".
 
Reply With Quote
 
Karthik.R
Guest
Posts: n/a
 
      14th Jul 2005
Hi,

I didn't mean to associate based on extension. If it is possible to open set
of folders with *.prj format to a custom applicationthen its sufficient. Can
you please elaborate how i should force the open for these folder to open in
say "xyz.exe". Also the context menu for the folders???

Regards,
Karthik.

"Mark V" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In microsoft.public.win2000.registry Karthik.R wrote:
>
> > One more thing related to point 3 query
> >
> > I meant the folder of type "*.tes" say "test1.tes" when clicked,
> > should open in my application "test.exe".[ It uses the folder
> > name as argument to my executable and opens it.].
> > Should this be done throught Folder.htt template? I am not
> > sure...

>
> I don't think you can do that. But one could arrange for the custom
> executable to receive a fully qualified directory-name and then seek
> for and open all the files within it perhaps. SendTo menu might be
> helpful there. It may be possible to add a context menu to folders
> to "open in xyz.exe" too. But, (and if I understand you correctly)
> there is no such mechanism that can "associate" a directory to an
> executable by an "extension".



 
Reply With Quote
 
Mark V
Guest
Posts: n/a
 
      15th Jul 2005
In microsoft.public.win2000.registry Karthik.R wrote:

> "Mark V" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> In microsoft.public.win2000.registry Karthik.R wrote:
>>
>> > One more thing related to point 3 query
>> >
>> > I meant the folder of type "*.tes" say "test1.tes" when
>> > clicked, should open in my application "test.exe".[ It uses
>> > the folder name as argument to my executable and opens it.].
>> > Should this be done throught Folder.htt template? I am not
>> > sure...

>>
>> I don't think you can do that. But one could arrange for the
>> custom executable to receive a fully qualified directory-name
>> and then seek for and open all the files within it perhaps.
>> SendTo menu might be helpful there. It may be possible to add
>> a context menu to folders to "open in xyz.exe" too. But, (and
>> if I understand you correctly) there is no such mechanism that
>> can "associate" a directory to an executable by an "extension".


> Hi,
>
> I didn't mean to associate based on extension. If it is possible
> to open set of folders with *.prj format to a custom
> applicationthen its sufficient. Can you please elaborate how i
> should force the open for these folder to open in say "xyz.exe".
> Also the context menu for the folders???


Then I am not fully understanding you. I do not know how to force
a folder to be opened (in anything) based solely on it's name.

The fully qualified path to a folder can be passed or sent to an
application. A SendTo link to your application might be used from
a given folder's context menu though. This would "pass" the FQP to
the specified executable (as "%1" or "%*") after which the program
itself would then need to "do something" with the information.
Including ignoring passed but possibly useless information.

You might also investigate the keys
HKCR\Folder\Shell\... and HKCR\Directory\Shell\...
for existing context menu "command"s. You will see explorer.exe in
some of them. Hope that helps some.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to associate file types to custom application =?Utf-8?B?U3RlaW5hciBIYXVnZW4=?= Windows Vista File Management 2 18th Apr 2007 11:25 AM
Doubt in Associate File Extensions with a Custom application. zidansoft@gmail.com Microsoft VC .NET 1 4th Jan 2007 01:41 PM
How to associate IE to open tiff image in browser with custom control or application Irfan Ahmed Microsoft Windows 2000 Registry 0 17th Mar 2004 03:26 PM
How to associate IE to open tiff image in browser with custom control or application Irfan Ahmed Microsoft Windows 2000 Registry Archive 0 17th Mar 2004 03:26 PM
How to associate IE to open tiff image in browser with custom control or application Irfan Ahmed Microsoft Windows 2000 Registry Archive 0 17th Mar 2004 03:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:10 PM.