<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>art2nd</author_name>
  <author_url>https://blog.hatena.ne.jp/art2nd/</author_url>
  <blog_title>晴歩雨描</blog_title>
  <blog_url>https://2ndart.hatenablog.com/</blog_url>
  <categories>
    <anon>コンピュータ</anon>
    <anon>ホームページ、Web作成</anon>
  </categories>
  <description>青空文庫HTMLなど、Windowsでウェブページを保存した際、.htmlファイルと「_files」フォルダーがセットになり、片方を移動・削除するともう一方も連動してしまう。 この挙動（コネクテッド・ファイル機能）を切り離したい。 HTMLファイルとフォルダーの「リンク」は、ファイル名が一致していることで維持されているので、フォルダー名を変えればよい。 ということで、フォルダー名を一括変換するツールアプリをPythonで作成。 指定したフォルダの直下にあるすべてのフォルダの名前の末尾に、指定した文字列を追加する。 【処理結果例】 【Pythonプログラムコード】 import os impor…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F2ndart.hatenablog.com%2Fentry%2F2026%2F01%2F13%2F101433&quot; title=&quot;Windows）Python）.htmlファイルと「_files」フォルダーのリンク（コネクテッド・ファイル機能）を外すツール作成。フォルダー名一括変換アプリ。青空文庫HTMLなど。 - 晴歩雨描&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/art2nd/20260113/20260113100226.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-01-13 10:14:33</published>
  <title>Windows）Python）.htmlファイルと「_files」フォルダーのリンク（コネクテッド・ファイル機能）を外すツール作成。フォルダー名一括変換アプリ。青空文庫HTMLなど。</title>
  <type>rich</type>
  <url>https://2ndart.hatenablog.com/entry/2026/01/13/101433</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
