<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>os0x</author_name>
  <author_url>https://blog.hatena.ne.jp/os0x/</author_url>
  <blog_title>os0x.blog</blog_title>
  <blog_url>https://os0x.hatenablog.com/</blog_url>
  <categories>
    <anon>JScript</anon>
    <anon>windows</anon>
  </categories>
  <description>JScript でハマる日々 - m2の別パターン以前、コメントで教えてもらったやつです。まず、winbatchとしてハイライト。 rem=0;/* cscript -E:JScript %0 exit */ remで始まる行はコメント扱いに。 2行目で自分自身をJScriptとして実行。 3行目のexitで終了。 バッチファイルとしては以上。続いて、JScript(javascript)としてハイライト。 rem=0;/* cscript -E:JScript %0 exit */ これはもう見たまま。/* */でコメントアウトされてます。rem=0が気になるといえば気になるけど。どちらかと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fos0x.hatenablog.com%2Fentry%2F20090826%2F1251283041&quot; title=&quot;バッチファイルをJScriptとして実行し直すイディオム - os0x.blog&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>2009-08-26 19:37:21</published>
  <title>バッチファイルをJScriptとして実行し直すイディオム</title>
  <type>rich</type>
  <url>https://os0x.hatenablog.com/entry/20090826/1251283041</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
