<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ktrito33</author_name>
  <author_url>https://blog.hatena.ne.jp/ktrito33/</author_url>
  <blog_title>怠日記</blog_title>
  <blog_url>https://nmk365.hatenablog.jp/</blog_url>
  <categories>
    <anon>VBScript</anon>
  </categories>
  <description>テキストファイルから文字列を読み取る方法として次の3つがある。一括で読み取る1行ずつ読み取る1文字ずつ読み取るそれぞれの方法を解説する。テキストファイルを一括で読み取る次のスクリプトは、テキストファイルの内容を表示する。Dim fso Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;) ​ 'テキストファイルを開く Dim ts Set ts = fso.OpenTextFile(&quot;C:\tmp\TextFile1.txt&quot;) ​ 'テキストファイル全体を読み取り表示する WScript.Echo ts.ReadAll ​ 'テキストファイ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnmk365.hatenablog.jp%2Fentry%2F20240730%2F1722292200&quot; title=&quot;VBScript - テキストファイルを読み取る（FileSystemObject） - 怠日記&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>2024-07-30 07:30:00</published>
  <title>VBScript - テキストファイルを読み取る（FileSystemObject）</title>
  <type>rich</type>
  <url>https://nmk365.hatenablog.jp/entry/20240730/1722292200</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
