<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>language_and_engineering</author_name>
  <author_url>https://blog.hatena.ne.jp/language_and_engineering/</author_url>
  <blog_title>主に言語とシステム開発に関して</blog_title>
  <blog_url>https://language-and-engineering.hatenablog.jp/</blog_url>
  <categories>
    <anon>WSH/JScript</anon>
    <anon>javascript</anon>
    <anon>HTA</anon>
  </categories>
  <description>バッチのまとめTOPへ テキストファイル中の文字列を置換する場合， 普通はエディタの置換機能を使うだろう。 しかし，それが何度も行なうルーティンになっている場合，手作業をしてはいけない。 ミスが混入しないように，毎回の置換作業をバッチに任せるべきだ。 残念ながら，Windows コマンドプロンプト(.bat)ではファイル中の文字列の置換はできない。かわりにここでは，WSHで動くJavascriptのクローンであるJScriptを使って，プレーンテキストの処理をするバッチを作成する。 作成と言っても，下記のコードをコピペするだけ。完成したバッチファイルをダブルクリックするだけで，置換済みの新テキ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flanguage-and-engineering.hatenablog.jp%2Fentry%2F20081017%2F1224168811&quot; title=&quot; バッチで文字列を置換する　（JScriptでテキストファイル処理） - 主に言語とシステム開発に関して&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>2008-10-17 23:53:31</published>
  <title> バッチで文字列を置換する　（JScriptでテキストファイル処理）</title>
  <type>rich</type>
  <url>https://language-and-engineering.hatenablog.jp/entry/20081017/1224168811</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
