<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iww</author_name>
  <author_url>https://blog.hatena.ne.jp/iww/</author_url>
  <blog_title>揮発性のメモ２</blog_title>
  <blog_url>https://iww.hateblo.jp/</blog_url>
  <categories>
    <anon>Windows</anon>
  </categories>
  <description>ランキング参加中プログラミング現在時刻を同じフォルダにあるログファイルにどんどん追記するバッチファイル ログファイル名はdate-xxxx.log xxxx にはコンピュータ名の先頭4文字が入る echo %date% %time%&gt;&gt; &quot;%~dp0date-%computername:~0,4%.log&quot; %date% 現在日付 %time% 現在時刻 %~dp0 実行ファイルパス %computername% コンピューター名 ファイルパスについて 詳細はDOS窓で call /? と打つことで確認できる %0 実行ファイルのファイル名（呼び出し時の文字列） %~0 ~をつけると、&quot;&quot; を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20260105%2Fdate&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/42132/1685946694840016</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-01-05 08:00:00</published>
  <title>現在時刻をファイルに保存 ２</title>
  <type>rich</type>
  <url>https://iww.hateblo.jp/entry/20260105/date</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
