<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>deloreanmc12</author_name>
  <author_url>https://blog.hatena.ne.jp/deloreanmc12/</author_url>
  <blog_title>3流プログラマのメモ書き</blog_title>
  <blog_url>https://3ryupg.hatenablog.com/</blog_url>
  <categories>
    <anon>豆知識</anon>
  </categories>
  <description>WSHを使って特定コンピュータのみフォルダリダイレクトの設定 Part1の続きです。 上記記事の最後でごみ箱無効化に関する問題がありましたが、あれを回避する方法です。 まず、WSHを管理者ユーザで動かすためのexeを作成し、ログインスクリプトに指定します。 今回はドメイン内のどの端末でもこのexeが動くことになるため、C++でWindowsAPIを使ってコーディングしました。 この辺に関しては、(C++)別ユーザでプロセスを起動するや(C++)ファイルパスからフォルダパスを取得するを参考に。。 これで、管理者権限で動くWSH側でごみ箱無効のレジストリ設定を書けばいいんですが、レジストリパスに、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F3ryupg.hatenablog.com%2Fentry%2F2010%2F09%2F04%2F224800&quot; title=&quot;WSHを使って特定コンピュータのみフォルダリダイレクトの設定 Part2 - 3流プログラマのメモ書き&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>2010-09-04 22:48:00</published>
  <title>WSHを使って特定コンピュータのみフォルダリダイレクトの設定 Part2</title>
  <type>rich</type>
  <url>https://3ryupg.hatenablog.com/entry/2010/09/04/224800</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
