Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Windows Explorer managing htm/html files

2 views
Skip to first unread message

Abhishek

unread,
Apr 1, 2005, 4:45:21 AM4/1/05
to
Hi,
I would like to know how Windows explorer manages htm/html files and
the supporting folders of those files. While copying a htm/html file from
a location, Windows automatically copies the supporting files folder also
along with the htm file. How is the association made by the windows for
the file and the supporting folder? I would like to perform a similar
functionality programmatically. Can anybody suggest how to do the same?

Thanks,
Abhishek.


Igor Tandetnik

unread,
Apr 1, 2005, 9:50:32 AM4/1/05
to
"Abhishek" <abhi_n...@rediffmail.com> wrote in message
news:OrS7j5pN...@TK2MSFTNGP09.phx.gbl

> I would like to know how Windows explorer manages htm/html files
> and the supporting folders of those files. While copying a htm/html
> file from a location, Windows automatically copies the supporting
> files folder also along with the htm file. How is the association
> made by the windows for the file and the supporting folder?

By name. The shell implements this special case whenever you have a file
named FileName.htm[l] and a folder FileName_files. There is an option
controlling this behavior - Control Panel | Folder Options | View |
Managing pairs of Web pages and folders.

> I would
> like to perform a similar functionality programmatically. Can anybody
> suggest how to do the same?

Maybe you can do it with a shell extension. A copy hook, perhaps.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


0 new messages