JScriptの変数の確認をします。 変数の宣言 varを付けて宣言をします。 型は自動判別(動的型付け)されます。 var message = "hello world"; WScript.echo(message); // => hello world 上記の例では、変数messageを宣言する際に、文字列"hello world"を代入しているので、この変数 ...
VBSファイルを用意します。 'このファイルと「同じファイル名.ps1」をウィンドウを開かずに実行する Dim psFilePath psFilePath = Replace(WScript.ScriptFullName, ".vbs", ".ps1") Set objShell = WScript.CreateObject("WScript.Shell") objShell.Run ...
With each new Windows OS release, the command prompt gets further away from the user. Oracle still ships most of its main server utilities as command-line utility programs, so it's becoming ...