タグ

comとwshに関するarikuiのブックマーク (4)

  • Scriptable Shell Objects (Windows)

    The Windows Shell provides a powerful set of automation objects that enable you to program the Shell with Microsoft Visual Basic and scripting languages such as Microsoft JScript (compatible with ECMA 262 language specification) and Microsoft Visual Basic Scripting Edition (VBScript). You can use these objects to access many of the Shell's features and dialog boxes. For example, you can access the

    Scriptable Shell Objects (Windows)
  • TechNet Script Center

    Summary: Using PowerShell to identify RPC ports in use by capturing content from PowerShell We'd like to introduce you today to one of our newest bloggers!  It's a froopingly awesome friend of ours, Joel Vickery, PFE.  (did I mention Dr. Scripto is a big fan of books written by Douglas Adams?....oops!) Take it away Joel! Thanks Doc!  So ...

    arikui
    arikui 2009/01/31
  • L'eclat des jours(2008-10-27)

    _ SQLのDSL 自分のふりかえりは上に書いたので、他の発表者のセッションで印象的だったのはというと、桑田さんのマクロならクォート一発な処理をDSLとして……というやつなのだが、聞いているときはおもしろかったが、考えてみるとちょっと違うのではないだろうか。 マクロのエラーは(多くの場合)単なる文法エラーだが、DSLのエラーはアプリケーションエラーにできるからだ。 ということはどういうことか。 まず、SQLは別に文字列で書けば良いというのがある。埋め込みパラメータがあるかどうかにかかわらず。効率も良いし、それがネイティブインターフェイスだ。 わざわざそれを元の言語に組み込もうというからには、そこに何かのメリットがなければしょうがない。 そのメリットが何かといえば、書き間違いに対する手厚いケアではないかと思う。他に何かあるか? (ソースの見てくれというのはある) としたら、ここに書き間違いが

  • VARIANT 型を受け取る際の注意

    COM コンポーネントを作ったときのことです。 VBScirpt と Visual Basic とで VARIANT の渡され方に若干の違いがあったのでまとめてみました。

  • 1