<?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>
  </categories>
  <description>Windowsの特定のフォルダー（ディレクトリ）以下のフォルダー名一覧をテキストファイルに書き出す方法の備忘録。 スタートボタン右クリックで、「ファイル名を指定して実行」で、「PowerShell」を起動する。 「Get-ChildItem」を使って、以下の例のようなコマンドを入力する。これだと、サブフォルダー全階層が出力される。 Get-ChildItem -Path &quot;D:\(対象のフォルダー)&quot; -Directory -Recurse | Select-Object -ExpandProperty FullName &gt; D:\temp\xxxxx.txt フォルダーの階層を指定するには「…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F2ndart.hatenablog.com%2Fentry%2F2025%2F01%2F25%2F221612&quot; title=&quot;Windows：PowerShell）特定のフォルダー（ディレクトリ）以下のフォルダー名一覧をテキストファイルに書き出す方法。UTF-8指定も。 - 晴歩雨描&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/20250211/20250211220505.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-01-25 22:16:12</published>
  <title>Windows：PowerShell）特定のフォルダー（ディレクトリ）以下のフォルダー名一覧をテキストファイルに書き出す方法。UTF-8指定も。</title>
  <type>rich</type>
  <url>https://2ndart.hatenablog.com/entry/2025/01/25/221612</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
