スクリプトの実行方法に応じた方法でメッセージを表示するには WScript オブジェクトの Echo メソッドを使います。 cscript.exe でスクリプトを実行した場合、メッセージは標準出力に出力されます。 wscript.exe でスクリプトを実行した場合、メッセージは ...
This query returns events where a script interpreter (cscript.exe, wscript.exe or mshta.exe) was executed from a Web browser process. The logic here is similar from the one from Day 11 query, however, ...
引数の文字列のSが大文字でも小文字でも動くけど 悩む時間が無駄なので、どっちが正しいのかはっきりさせたい CreateObject("WScript.shell") CreateObject("Wscript.shell") そもそもこの関数は、何をしているのか WindowsScriptHostのCOMオブジェクトのインスタンスを作成して ...
DISCLAIMER - I'm currently sick and fighting sleepiness as I post this. As usual, I'll enhance that page with more information when I get better/get back. For now, consider this as a hunting query.