ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Thicket files in Windows - how are they "linked"?

    IT Discussion
    5
    9
    551
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 1
      1337
      last edited by 1337

      I have htm files that are somehow linked to folders on Windows 7. If you copy the htm file, you automatically get the folder as well. My research so far tells me it's called thicket files.

      Example:
      xxx.htm (html file)
      xxx_files (name of folder with additional files that the html file needs)

      How are these "linked" together? Is it some kind of attribute or something or is it "hardcoded" into the OS somehow? Or maybe it's just "linked" by the name and "_files" is a reserved folder name suffix in Windows? Or is it just the file explorer that knows about this?

      I want make a script that copies and renames these files but I need to now how the OS knows that they belong together so I can replicate the "link".

      1 Reply Last reply Reply Quote 1
      • black3dynamiteB
        black3dynamite
        last edited by

        My search keep showing SharePoint. Does this only happens when getting those files from SharePoint?

        1 1 Reply Last reply Reply Quote 1
        • 1
          1337 @black3dynamite
          last edited by 1337

          @black3dynamite said in Thicket files in Windows - how are they "linked"?:

          My search keep showing SharePoint. Does this only happens when getting those files from SharePoint?

          No, there's no SharePoint at all involved.

          1 1 Reply Last reply Reply Quote 0
          • 1
            1337 @1337
            last edited by 1337

            @Pete-S said in Thicket files in Windows - how are they "linked"?:

            @black3dynamite said in Thicket files in Windows - how are they "linked"?:

            My search keep showing SharePoint. Does this only happens when getting those files from SharePoint?

            No, there's no SharePoint at all involved.

            Actually, if I just create a file called xxx.htm and a folder called xxx_files they now belong together.

            If you delete just the xxx.htm file the folder gets deleted too and if you copy the htm file, the folder will also be copied. Very odd.

            BTW, this is on another Windows 7 machine that has nothing to do with this. Is this a Windows feature?

            1 Reply Last reply Reply Quote 0
            • 1
              1337
              last edited by

              Tried another OS and Windows 2012 R2 behaves the same.

              1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender
                last edited by

                I recall seeing this ages ago. It happened when I would save a website onto my computer. I found that the directory had copies of the images (and perhaps other files) that the HTM file referenced.

                tonyshowoffT 1 Reply Last reply Reply Quote 1
                • zachary715Z
                  zachary715
                  last edited by

                  Yeah we see this whenever we publish Excel sheets as webpages to our Intranet.

                  1 Reply Last reply Reply Quote 1
                  • tonyshowoffT
                    tonyshowoff @Dashrender
                    last edited by tonyshowoff

                    @Dashrender said in Thicket files in Windows - how are they "linked"?:

                    I recall seeing this ages ago. It happened when I would save a website onto my computer. I found that the directory had copies of the images (and perhaps other files) that the HTM file referenced.

                    @Pete-S
                    Indeed this has been true since at least Windows 98 when IE had the feature (maybe still does) "Read web page offline" and also as a part of the Save... feature, and other browsers copied that same implementation when saving the assets. In the end it doesn't matter where it came from, how it was created, etc nor whether 9x or NT. If there's a .htm(l) file and a directory with _files in the name they are treated as linked in Explorer, but not in CMD (IIRC).

                    1 1 Reply Last reply Reply Quote 2
                    • 1
                      1337 @tonyshowoff
                      last edited by

                      @tonyshowoff said in Thicket files in Windows - how are they "linked"?:

                      @Dashrender said in Thicket files in Windows - how are they "linked"?:

                      I recall seeing this ages ago. It happened when I would save a website onto my computer. I found that the directory had copies of the images (and perhaps other files) that the HTM file referenced.

                      @Pete-S
                      Indeed this has been true since at least Windows 98 when IE had the feature (maybe still does) "Read web page offline" and also as a part of the Save... feature, and other browsers copied that same implementation when saving the assets. In the end it doesn't matter where it came from, how it was created, etc nor whether 9x or NT. If there's a .htm(l) file and a directory with _files in the name they are treated as linked in Explorer, but not in CMD (IIRC).

                      Thanks. I made the same observation - that it is the name that link the directory and file together and it is only in Explorer it is treated as a link.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post