<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>k-emu</author_name>
  <author_url>https://blog.hatena.ne.jp/k-emu/</author_url>
  <blog_title>自分方位研究所</blog_title>
  <blog_url>https://www.mypath-as-variant.com/</blog_url>
  <categories>
    <anon>Windows</anon>
  </categories>
  <description>pythonの学習をはじめました。 コマンドプロンプトからpythonを実行すると、実行結果が残せるので便利です。 超いまさらな感じですが、私の学習記録として残しておきます。 コマンドプロンプトから、pythonを実行するには、先ずpythonのコードが書かれたファイル(〇〇〇.py)が存在するフォルダに移動する必要があります。 毎回コマンドプロンプトを起動するたびにディレクトリを変更するのは面倒なので、ディレクトリが変更された状態で、コマンドプロンプトが開くようなバッチファイルを書いてみました。 まったく、小学生のプログラミング入門といった感じです。 以下のコードをメモ帳で作成して、ファイル…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mypath-as-variant.com%2Fentry%2F2026%2F06%2F09%2F204318&quot; title=&quot;コマンドプロンプトを開くバッチファイル - 自分方位研究所&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-06-09 20:43:18</published>
  <title>コマンドプロンプトを開くバッチファイル</title>
  <type>rich</type>
  <url>https://www.mypath-as-variant.com/entry/2026/06/09/204318</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
