<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dk521123</author_name>
  <author_url>https://blog.hatena.ne.jp/dk521123/</author_url>
  <blog_title>プログラム の超個人的なメモ</blog_title>
  <blog_url>https://dk521123.hatenablog.com/</blog_url>
  <categories>
    <anon>バッチ</anon>
  </categories>
  <description>■ はじめに バッチでテストデータ（今回は、CSVファイル）を作ることを考える はじめは、コピーして保存し実行すれば、 簡単なテストデータができればいいなーっと思ったが ちょっとだけ凝ったもの 例えば、ランダムで文字列データ生成や指定サイズでデータを作る などは、プログラム組んだ方が早いなーっと思った、、、 ただ、意外と学ぶものがあってよかった。 目次 【１】Tips １）ゼロ埋めパディング ２）yyyy/mm/dd hh:mn:ssで取得する ３）乱数を取得する ４）「setlocal EnableDelayedExpansion」 【２】サンプル 例１：指定行数までデータを生成する 【１】…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F2021%2F04%2F24%2F182143&quot; title=&quot;【Batch】バッチで簡易テストデータを作ることを考える - プログラム の超個人的なメモ&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>2021-04-24 18:21:43</published>
  <title>【Batch】バッチで簡易テストデータを作ることを考える</title>
  <type>rich</type>
  <url>https://dk521123.hatenablog.com/entry/2021/04/24/182143</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
